LIST1 Option

<list1 control option>

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

Explanation

This control option controls the printing of the WFL source file into a printer backup file. LIST1 can generate output from a START FOR SYNTAX statement.

SET is an optional action indicator that causes the source file to be printed. RESET is an optional action indicator that prevents the source file from printing. The default value is RESET.

The $LIST1 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 the printer backup file.

Example

In this example, the LIST1 option is used to print the WFL source file and the included file:

-     % #2: *BD/0020801/0008864/201612150536/000LINE ON PACK (Records: 1-9 of 9)
  00000000  $ list1                                          
  00000100  begin job testit;                                
  00000200  integer i;                                       
  00000300  $ include j/include/1                            
1.00000100  myjob (options = (todisk, fault, dsed, arrays,   
1.00000200                    base, libraries, files, code));
  00000400  i := i / 0;                                      
  00000500  end job                                          
----- End of *BD/0020801/0008864/201612150536/000LINE ON PACK