The PRINT-LIST statement is used to output a set of objects previously selected by means of the statements START-LIST-GENERATION, ADD-LIST-OBJECTS or REMOVE-LIST-OBJECTS. Output can be directed to a file or to SYSLST.
Format
PRINT-LIST |
OUTPUT = *SYSLST / <filename 1..54> |
Operands
OUTPUT = *SYSLST / <filename 1..54>
This specifies the destination for the output.
OUTPUT = *SYSLST
By default, output is directed to SYSLST.
OUTPUT = <filename 1..54>
Output is directed to a cataloged file (SAM file).
Note
The following steps should be followed to print a list in batch mode:
START-LIST-GENERATION ———————————————————————————————————————————————— (1) ADD-LIST-OBJECTS ... ————————————————————————————————————————————————— (2) ADD-LIST-OBJECTS ... REMOVE-LIST-OBJECTS ... PRINT-LIST ... ———————————————————————————————————————————————————————— (3)
(1) | Start list generation |
In interactive mode, the START-LIST-GENERATION statement displays the LIST window where the user can define the scope of the list by marking objects and filling in masks. In interactive mode, a corresponding field can be marked instead of issuing the PRINT-LIST statement.