ZIP Statement

The ZIP statement causes the Work Flow Language (WFL) compiler to begin compiling the designated source code.

<zip statement>

── ZIP ── WITH ─┬─<array row>───────┬──────────────────────────────────┤
                └─<file designator>─┘

The ZIP statement passes to the WFL compiler the source code in the array row or in the file referenced by the file designator. The source code in the array row or file must be valid WFL source input; otherwise, it is not executed. WFL syntax requirements are described in the Work Flow Language (WFL) Programming Reference Manual.

The EXCEPTIONEVENT is caused for a user program when the program executes a ZIP statement.

ZIP WITH <array row>

The array row can be an EBCDIC array row or a row of a word array. If the array row is a word array, the character type of the contents of the array row is the default character type. For more information, refer to Default Character Type. The array row is processed as one record, but it can include more than 72 characters. A semicolon (;) is used to separate statements within the array row. Only one question mark character can appear in the array row.

WFL examines the contents of the array row for correct syntax and if no errors are detected, the compiled job is run. If errors are detected, a job summary is created unconditionally. In either case, program control passes to the next statement in the program.

Note: Note: For a ZIP WITH <array row> involving Job Transfer (“AT <host name> BEGIN JOB…”), the maximum amount of text allowed is 65,500 bytes.