CHGPF (Change Physical File) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
>>-CHGPF-------------------------------------------------------->
 
          .-*LIBL/--------.                        (1)
>--FILE(--+---------------+--physical-file-name--)-------------->
          +-*CURLIB/------+
          '-library-name/-'
 
>--+---------------------------+-------------------------------->
   |          .-*LCL------.    |
   '-SYSTEM(--+-*RMT------+--)-'
              '-*FILETYPE-'
 
                                                                (2)
>--+----------------------------------------------------------+------->
   |           .-*NONE-----------------------------------.    |
   |           | .-*LIBL/--------.                       |    |
   '-SRCFILE(--+-+-*CURLIB/------+--+-QDDSSRC----------+-+--)-'
                 '-library-name/-'  '-source-file-name-'
 
>--+----------------------------------------------+------------->
   |         (3)   .-*FILE-------------------.    |
   '-SRCMBR(-------+-source-file-member-name-+--)-'
 
>--+--------------------------------------------------+--------->
   |               .-----------------------------.    |
   |         (3)   V                             |    |
   '-OPTION(---------+-------------------------+-+--)-'
                     | .-*SRC or *SOURCE-----. |
                     +-+-*NOSRC or *NOSOURCE-+-+
                     | .-*LIST---.             |
                     +-+-*NOLIST-+-------------+
                     | .-*NOSECLVL-.           |
                     +-+-*SECLVL---+-----------+
                     | .-*NOEVENTF-.           |
                     '-+-*EVENTF---+-----------'
 
>--+-------------------------------------+---------------------->
   |         (3)   .-20-------------.    |
   '-GENLVL(-------+-severity-level-+--)-'
 
>--+-----------------------------------+------------------------>
   |       (3)   .-0--------------.    |
   '-FLAG(-------+-severity-level-+--)-'
 
>--+-----------------------------+------------------------------>
   |           (3)   .-*NO--.    |
   '-DLTDEPLF(-------+-*YES-+--)-'
 
>--+--------------------------------+--------------------------->
   |         (3)   .-*RESTRICT-.    |
   '-RMVCST(-------+-*REMOVE---+--)-'
 
>--+----------------------------------+------------------------->
   |           .-*SAME-----------.    |
   '-EXPDATE(--+-*NONE-----------+--)-'
               '-expiration-date-'
 
>--+----------------------------------+------------------------->
   |           .-*SAME-----------.    |
   '-MAXMBRS(--+-*NOMAX----------+--)-'
               '-maximum-members-'
 
>--+---------------------------------+-------------------------->
   |            (3)   .-*SAME---.    |
   '-ACCPTHSIZ(-------+-*MAX4GB-+--)-'
                      '-*MAX1TB-'
 
>--+-----------------------+--+--------------------------+------>
   |         .-*SAME--.    |  |           .-*SAME---.    |
   '-MAINT(--+-*IMMED-+--)-'  '-RECOVER(--+-*NO-----+--)-'
             +-*REBLD-+                   +-*AFTIPL-+
             '-*DLY---'                   '-*IPL----'
 
>--+--------------------------+--------------------------------->
   |             .-*SAME-.    |
   '-FRCACCPTH(--+-*NO---+--)-'
                 '-*YES--'
 
>--+------------------------------------------------------------------------------------+-->
   |          .-*SAME-------------.  .-*SAME-----------.  .-*SAME----------------.      |
   '-SIZE(--+-+-number-of-records-+--+-increment-value-+--+-number-of-increments-+-+--)-'
            '-*NOMAX---------------------------------------------------------------'
 
>--+-------------------------+---------------------------------->
   |            .-*SAME-.    |
   '-ALLOCATE(--+-*NO---+--)-'
                '-*YES--'
 
>--+------------------------------------+----------------------->
   |       (4)   .-*SAME-----------.    |
   '-UNIT(-------+-*ANY------------+--)-'
                 '-unit-identifier-'
 
>--+--------------------------------------------------+--------->
   |            .-*SAME--------------------------.    |
   '-FRCRATIO(--+-*NONE--------------------------+--)-'
                '-number-of-records-before-force-'
 
>--+-------------------------------------+---------------------->
   |            .-*SAME-------------.    |
   '-WAITFILE(--+-*IMMED------------+--)-'
                +-*CLS--------------+
                '-number-of-seconds-'
 
>--+------------------------------------+----------------------->
   |           .-*SAME-------------.    |
   '-WAITRCD(--+-*IMMED------------+--)-'
               +-*NOMAX------------+
               '-number-of-seconds-'
 
>--+----------------------+------------------------------------->
   |         .-*SAME-.    |
   '-SHARE(--+-*NO---+--)-'
             '-*YES--'
 
>--+------------------------------------------------------+----->
   |          .-*SAME--------------------------------.    |
   '-DLTPCT(--+-*NONE--------------------------------+--)-'
              '-deleted-records-threshold-percentage-'
 
>--+-------------------------+---------------------------------->
   |            .-*SAME-.    |
   '-REUSEDLT(--+-*NO---+--)-'
                '-*YES--'
 
>--+-------------------------------------------------------------+-->
   |          .-*SAME---------------------------------------.    |
   '-SRTSEQ(--+-*SRC----------------------------------------+--)-'
              +-*JOB----------------------------------------+
              +-*LANGIDSHR----------------------------------+
              +-*LANGIDUNQ----------------------------------+
              +-*HEX----------------------------------------+
              | .-*LIBL/--------.                           |
              '-+---------------+--sort-sequence-table-name-'
                +-*CURLIB/------+
                '-library-name/-'
 
>--+------------------------------------+----------------------->
   |         .-*SAME---------------.    |
   '-LANGID--+-*JOB----------------+--)-'
             '-language-identifier-'
 
>--+----------------------------------------------------+------->
   |        (5)   .-*SAME--------------------------.    |
   '-CCSID(-------+-*HEX---------------------------+--)-'
                  '-coded-character-set-identifier-'
 
>--+-----------------------+------------------------------------>
   |          .-*SAME-.    |
   '-LVLCHK(--+-*YES--+--)-'
              '-*NO---'
 
>--+----------------------------------------------------+------->
   |          .-*SAME------------------------------.    |
   '-NODGRP(--+-*NONE------------------------------+--)-'
              | .-*LIBL/--------.                  |
              '-+---------------+--node-group-name-'
                +-*CURLIB/------+
                '-library-name/-'
 
>--+---------------------------------------------------+-------->
   |          .-*SAME-----------------------------.    |
   |          | .-------------------------------. |    |
   |          | V                          (6)  | |    |
   '-PTNKEY(--+---partition-key-field-name------+-+--)-'
 
>--+---------------------------------+-------------------------><
   |        .-*SAME-------------.    |
   '-TEXT(--+-*BLANK------------+--)-'
            '-'--description--'-'
 
 

Notes:

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

  2. All parameters preceding this point are key parameters.

  3. If this parameter is specified, SRCFILE must be specified with a value other than *NONE.

  4. This parameter is no longer supported.

  5. If this parameter is specified, SRCFILE(*NONE) also must be specified.

  6. A maximum of 300 repetitions.