:JCL_CONCAT_CHAR

Use the JCL_CONCAT_CHAR script statement to connect two or more script lines that contain JCL to form a single JCL line of up to 2 KB in size. The concatenation is carried out when the Job is generated. You can reuse this script statement in a script to build several JCL lines in succession. For more information about JCL, see Data Lines and Job Control Language.

Syntax

:JCL_CONCAT_CHAR [Character]

[JCL lines]

:JCL_CONCAT_CHAR

End each script line that you want to integrate into a single JCL line with the character that you specify as the connector in the parameter of the script statement. This character connects the relevant script lines with each other at the position of the character. The character itself is not included in the resulting JCL line. End the last script line that you want to include in the resulting JCL line without this character, and use the script statement again after the last line that you want to concatenate, without a parameter.

Notes:

Warnings:

Examples

The following example uses an asterisk (*) as the character that connects the individual script lines. The script calls an MS SQL Server utility with several parameters. The EXIT parameter that contains an SQL statement is written in a new script line. The SQL statement itself is split to several scripting lines. When the job is generated, the JCL_CONCAT_CHAR script statement concatenates these lines to form a single JCL line.

:JCL_CONCAT_CHAR "*" 

ISQL.EXE /U SA /P /S BUNTWS02 /t 10 /d UC4 /Q *

"EXIT(UPDATE OH SET OH_EXPKZ = 1 *

WHERE OH_MANDANT = 01 *

AND (OH_OTYP_TYP <> 'FOLD') *

AND OH_LOEKZ = 0)"

:JCL_CONCAT_CHAR  

See also: