CHGSPLFA (Change Spooled File Attributes) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
>>-CHGSPLFA--FILE(--+-*SELECT-----------+--)-------------------->
                    '-spooled-file-name-'
 
>--+-------------------------------------------------------------+-->
   |      (1)   .-*-----------------------------------------.    |
   '-JOB(-------+-+-----------------------------+--job-name-+--)-'
                  '-+-------------+--user-name/-'
                    '-job-number/-'
 
                                                (2)
>--+------------------------------------------+----------------->
   |         (1)   .-*ONLY---------------.    |
   '-SPLNBR(-------+-*LAST---------------+--)-'
                   +-*ANY----------------+
                   '-spooled-file-number-'
 
>--+-----------------------------------+------------------------>
   |             (1)   .-*ONLY-------. |
   '-JOBSYSNAME(-------+-*CURRENT----+-'
                       +-*ANY--------+
                       '-system-name-'
 
                                                              (3)
>--+--------------------------------------------------------+------->
   |          (1)   .-*ONLY----------------------------.    |
   '-CRTDATE(-------+-*LAST----------------------------+--)-'
                    |                .-*ONLY---------. |
                    '-creation-date--+-*LAST---------+-'
                                     '-creation-time-'
 
>--+-------------------------------------------------------------------------------+-->
   |         (4)   .-*CURRENT--.  .-*ALL--------.  .-*ALL------.  .-*ALL------.    |
   '-SELECT(-------+-*ALL------+--+-*OUTQ-------+--+-*STD------+--+-user-data-+--)-'
                   '-user-name-'  '-device-name-'  '-form-type-'
 
>--+--------------------------+--+-----------------------+------>
   |       .-*SAME-------.    |  |          .-*SAME-.    |
   '-DEV(--+-*OUTQ-------+--)-'  '-PRTSEQ(--+-*NEXT-+--)-'
           '-device-name-'
 
>--+----------------------------------------------------+------->
   |        .-*SAME--------------------------------.    |
   '-OUTQ(--+-*DEV---------------------------------+--)-'
            | .-*LIBL/--------.                    |
            '-+---------------+--output-queue-name-'
              +-*CURLIB/------+
              '-library-name/-'
 
>--+-----------------------------+------------------------------>
   |            .-*SAME-----.    |
   '-FORMTYPE(--+-*STD------+--)-'
                '-form-type-'
 
>--+----------------------------------+------------------------->
   |          .-*SAME------------.    |
   '-COPIES(--+-number-of-copies-+--)-'
 
>--+--------------------------------------------+--------------->
   |           .-*SAME---------------------.    |
   '-FILESEP(--+-number-of-file-separators-+--)-'
 
>--+---------------------------------------------------+-------->
   |             .-*SAME---------.  .-*SAME-------.    |
   '-PAGERANGE(--+-*ENDPAGE------+--+-------------+--)-'
                 '-starting-page-'  +-*END--------+
                                    '-ending-page-'
 
>--+-------------------------------+---------------------------->
   |           .-*SAME--------.    |
   '-RESTART(--+-*STRPAGE-----+--)-'
               +-*ENDPAGE-----+
               +-*NEXT--------+
               '-restart-page-'
 
>--+----------------------------+--+---------------------+------>
   |            .-*SAME----.    |  |        .-*SAME-.    |
   '-SCHEDULE(--+-*JOBEND--+--)-'  '-SAVE(--+-*NO---+--)-'
                +-*FILEEND-+                '-*YES--'
                '-*IMMED---'
 
>--+---------------------------------+-------------------------->
   |          .-*SAME-----------.    |
   '-OUTPTY(--+-*JOB------------+--)-'
              '-output-priority-'
 
>--+---------------------------+--+----------------------+------>
   |          .-*SAME-----.    |  |         .-*SAME-.    |
   '-USRDTA(--+-user-data-+--)-'  '-ALIGN(--+-*NO---+--)-'
                                            '-*YES--'
 
>--+-----------------------------+------------------------------>
   |           .-*SAME------.    |
   '-PRTQLTY(--+-*STD-------+--)-'
               +-*DRAFT-----+
               +-*NLQ-------+
               +-*DEVD------+
               '-*FASTDRAFT-'
 
>--+----------------------------+--+------------------------+--->
   |            .-*SAME----.    |  |           .-*SAME-.    |
   '-FORMFEED(--+-*DEVD----+--)-'  '-MULTIUP(--+-1-----+--)-'
                +-*AUTOCUT-+                   +-2-----+
                +-*CONT----+                   '-4-----'
                +-*CONT2---+
                '-*CUT-----'
 
>--+------------------------------+----------------------------->
   |         .-*SAME---------.    |
   '-DRAWER--+-*E1-----------+--)-'
             +-*FORMDF-------+
             '-source-drawer-'
 
>--+---------------------------------------------------------+-->
   |          .-*SAME-----------------------------------.    |
   '-PAGDFN(--+-*NONE-----------------------------------+--)-'
              | .-*LIBL/--------.                       |
              '-+---------------+--page-definition-name-'
                +-*CURLIB/------+
                '-library-name/-'
 
>--+---------------------------------------------------------+-->
   |          .-*SAME-----------------------------------.    |
   '-FORMDF(--+-*NONE-----------------------------------+--)-'
              +-*DEVD-----------------------------------+
              +-*INLINE---------------------------------+
              +-*INLINED--------------------------------+
              | .-*LIBL/--------.                       |
              '-+---------------+--form-definition-name-'
                +-*CURLIB/------+
                '-library-name/-'
 
>--+--------------------------------------------+--------------->
   |            .-*SAME--------------------.    |
   '-AFPCHARS(--+-*NONE--------------------+--)-'
                | .----------------------. |
                | V                 (5)  | |
                '---coded-font-name------+-'
 
>--+-------------------------+---------------------------------->
   |          .-*SAME---.    |
   '-DUPLEX(--+-*NO-----+--)-'
              +-*YES----+
              +-*TUMBLE-+
              '-*FORMDF-'
 
>--+----------------------------------------------------------------------------------+-->
   |            .-*SAME----------------------------------------------------------.    |
   '-FRONTOVL(--+-*NONE----------------------------------------------------------+--)-'
                | .-*LIBL/--------.           .-*SAME-------.  .-*SAME---------. |
                '-+---------------+--overlay--+-offset-down-+--+-offset-across-+-'
                  +-*CURLIB/------+
                  '-library-name/-'
 
>--+--------------------------------------------------------------------------------------------------+-->
   |           .-*SAME---------------------------------------------------------------------------.    |
   '-BACKOVL(--+-*FRONTOVL-----------------------------------------------------------------------+--)-'
               +-*NONE---------------------------------------------------------------------------+
               | .-*LIBL/--------.           .-*SAME-------.  .-*SAME---------.  .-*SAME-------. |
               '-+---------------+--overlay--+-offset-down-+--+-offset-across-+--+-------------+-'
                 +-*CURLIB/------+                                               +-*NOCONSTANT-+
                 '-library-name/-'                                               '-*CONSTANT---'
 
>--+-----------------------------+------------------------------>
   |            .-*SAME-----.    |
   '-FIDELITY(--+-*ABSOLUTE-+--)-'
                '-*CONTENT--'
 
>--+-----------------------------------------+------------------>
   |       .-*SAME----------------------.    |
   '-VOL(--+-*NONE----------------------+--)-'
           | .------------------------. |
           | V                   (6)  | |
           '---volume-identifier------+-'
 
>--+-------------------------------------+---------------------->
   |         .-*SAME----------------.    |
   '-LABEL(--+-data-file-identifier-+--)-'
 
>--+--------------------------+--+-----------------------+------>
   |            .-*SAME--.    |  |        .-*SAME---.    |
   '-EXCHTYPE(--+-*STD---+--)-'  '-CODE(--+-*EBCDIC-+--)-'
                +-*BASIC-+                '-*ASCII--'
                +-*H-----+
                '-*I-----'
 
>--+------------------------------------+----------------------->
   |             .-*SAME-----------.    |
   '-USRDFNOPT(--+-*NONE-----------+--)-'
                 | .-------------. |
                 | V        (5)  | |
                 '---option------+-'
 
>--+----------------------------------------------------------------+-->
   |             .-*SAME---------------------------------------.    |
   '-USRDFNOBJ(--+-*NONE---------------------------------------+--)-'
                 | .-*LIBL/--------.                           |
                 '-+---------------+--object-name--+-*DTAARA-+-'
                   +-*CURLIB/------+               +-*DTAQ---+
                   '-library-name/-'               +-*FILE---+
                                                   +-*PSFCFG-+
                                                   +-*USRIDX-+
                                                   +-*USRQ---+
                                                   '-*USRSPC-'
 
>--+---------------------------+--+-------------------------+--><
   |              .-*SAME-.    |  |          .-*SAME---.    |
   '-IPDSPASTHR(--+-*DEVD-+--)-'  '-FNTRSL(--+-*DEVD---+--)-'
                  +-*NO---+                  +-*SEARCH-+
                  '-*YES--'                  +-240-----+
                                             '-300-----'
 
 

Notes:

  1. This parameter is valid only if a spooled file name is specified on the FILE parameter.

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

  3. All parameters preceding this point are key parameters.

  4. SELECT only used if FILE(*SELECT) is specified.

  5. A maximum of 4 repetitions.

  6. A maximum of 50 repetitions.