Termination, line numbers, and continuation
There is no termination character for a command statement. A command is terminated when a new command word is identified as the first word on an input line, or the end of an input stream is encountered. Continuation is automatic; no continuation character is needed.
Any line ending in a comma is continued onto the next line with no intervening blank, any other ending character results in an intervening blank being considered between the adjoined lines.
If a single keyword needs to be longer than an input line, then continuing that statement up to the last column of available input (for example, column 80 for instream SYSIN) results in the following line being directly abutted to the end of the preceding line.
If line numbers were included in the input statements, column 72 is considered as the last available input column. Workload Automation Programming Language considers only line numbers to be set if every record of the input stream has only numeric digits in columns 73 to 80. If any records have blanks or characters other than 0 to 9 in columns 73-80, the content of columns 73-80 is considered valid input for every record. If any record length other than 80 bytes is used for input, Workload Automation Programming Language does not consider line numbers to be set.
For compatibility with EQQYCAIN and EQQYLTOP batch loader format, you can set OPTIONS
SYNTAX(LEGACY)
, which will ignore anything beyond column 72 and consider 72 as the
continuation column, connecting the following line from column 1.
Using termination characters such as semicolon (;) or period (.) is not accepted by Workload Automation Programming Language.
Individual sub-segments for Batch Loader statements do not have to start on a new line, only the
xxSTART
statement needs to start on a new line. For example,
ADSTART ADID(MYAPPL) ADOP OPNO(001) JOBN(MYJOB)
With a long enough SYSIN record length it would be possible to contain the entire Batch Loader for a single HCL Workload Automation for Z object on a single line of input.