LIST Option

<list control option>

──┬─ $ ──┬─┬─────────┬─ LIST ──────────────────────────────────────────┤
  └─ $$ ─┘ ├─ SET ───┤
           └─ RESET ─┘

Explanation

This control option controls the printing of the WFL source file in the job summary. SET is an optional action indicator that causes the source file to be printed as part of the job summary. SET is the default value. RESET is an optional action indicator that prevents the source file from printing.

The $LIST compiler option is reset if the user does not have read access to the job source file and any included files. The source images are not printed in either the compiler output file or the job summary file.

Examples

In this example, the LIST option is used to prevent the WFL source file from being printed in the job summary:

$RESET LIST
?BEGIN JOB EXAMPLE1;
RUN OBJECT/PROG1;
RUN OBJECT/PROG2;
.
.
.
?END JOB.

This example prints the first three lines of the WFL source file in the job summary:

?BEGIN JOB EXAMPLE2
                      (INTEGER DATE1, %% STARTING DATE
                       INTEGER DATE2); %% ENDING DATE
$RESET LIST
RUN OBJECT/PROG1; VALUE = DATE1;
RUN OBJECT/PROG1; VALUE = DATE2;
RUN OBJECT/T1;
RUN OBJECT/T2;
.
.
.
?END JOB.