WRKSPLFA (Work with Spooled File Attributes) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
>>-WRKSPLFA--FILE(--spooled-file-name--)------------------------>
 
>--+--------------------------------------------------------+--->
   |       .-*-----------------------------------------.    |
   '-JOB(--+-+-----------------------------+--job-name-+--)-'
             '-+-------------+--user-name/-'
               '-job-number/-'
 
                                           (1)
>--+-------------------------------------+---------------------->
   |          .-*ONLY---------------.    |
   '-SPLNBR(--+-*LAST---------------+--)-'
              +-*ANY----------------+
              '-spooled-file-number-'
 
>--+------------------------------+----------------------------->
   |              .-*ONLY-------. |
   '-JOBSYSNAME(--+-*CURRENT----+-'
                  +-*ANY--------+
                  '-system-name-'
 
>--+---------------------------------------------------+-------->
   |           .-*ONLY----------------------------.    |
   '-CRTDATE(--+-*LAST----------------------------+--)-'
               |                .-*ONLY---------. |
               '-creation-date--+-*LAST---------+-'
                                '-creation-time-'
 
>--+------------------------+----------------------------------><
   |          .-*------.    |
   '-OUTPUT(--+-*PRINT-+--)-'
 
 

Notes:

  1. All parameters preceding this point can be specified in positional form.