CRTPF (Create Physical File) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: Conditional; see Restrictions
                 .-*CURLIB/------.
>>-CRTPF--FILE(--+---------------+--physical-file-name--)------->
                 '-library-name/-'
 
>--+----------------------------------------------------------------------------------------------------+-->
   |          (1)   .-*LIBL/--------.  .-QDDSSRC----------.              .-*FILE-------------------.    |
   +-SRCFILE(-------+-*CURLIB/------+--+-source-file-name-+--)--SRCMBR(--+-source-file-member-name-+--)-+
   |                '-library-name/-'                                                                   |
   '-RCDLEN(--record-length--)--------------------------------------------------------------------------'
 
>--+---------------------------------------------+-------------->
   |          .-----------------------------.    |
   |          V                             |    |
   '-OPTION(----+-------------------------+-+--)-'
                | .-*SRC or *SOURCE-----. |
                +-+-*NOSRC or *NOSOURCE-+-+
                | .-*LIST---.             |
                +-+-*NOLIST-+-------------+
                | .-*NOSECLVL-.           |
                +-+-*SECLVL---+-----------+
                | .-*NOEVENTF-.           |
                '-+-*EVENTF---+-----------'
 
>--+---------------------------+-------------------------------->
   |          .-*LCL------.    |
   '-SYSTEM(--+-*RMT------+--)-'
              '-*FILETYPE-'
 
                                      (2)
>--+--------------------------------+--------------------------->
   |          .-20-------------.    |
   '-GENLVL(--+-severity-level-+--)-'
 
>--+------------------------------+----------------------------->
   |        .-0--------------.    |
   '-FLAG(--+-severity-level-+--)-'
 
>--+-------------------------+---------------------------------->
   |            .-*DATA-.    |
   '-FILETYPE(--+-*SRC--+--)-'
 
>--+----------------------------------------+------------------->
   |       .-*FILE---------------------.    |
   '-MBR(--+-*NONE---------------------+--)-'
           '-physical-file-member-name-'
 
>--+----------------------------------+------------------------->
   |           .-*NONE-----------.    |
   '-EXPDATE(--+-expiration-date-+--)-'
 
>--+----------------------------------+------------------------->
   |           .-1---------------.    |
   '-MAXMBRS(--+-*NOMAX----------+--)-'
               '-maximum-members-'
 
>--+----------------------------+--+-----------------------+---->
   |             .-*MAX1TB-.    |  |         .-*IMMED-.    |
   '-ACCPTHSIZ(--+-*MAX4GB-+--)-'  '-MAINT(--+-*REBLD-+--)-'
                                             '-*DLY---'
 
>--+-------------------------------+---------------------------->
   |          (3)                  |
   '-RECOVER(-------+-*NO-----+--)-'
                    +-*AFTIPL-+
                    '-*IPL----'
 
>--+-------------------------+---------------------------------->
   |             .-*NO--.    |
   '-FRCACCPTH(--+-*YES-+--)-'
 
>--+------------------------------------------------------------------------------------+-->
   |          .-10000-------------.  .-1000------------.  .-3--------------------.      |
   '-SIZE(--+-+-number-of-records-+--+-increment-value-+--+-number-of-increments-+-+--)-'
            '-*NOMAX---------------------------------------------------------------'
 
>--+------------------------+--+----------------------+--------->
   |            .-*NO--.    |  |          .-*NO--.    |
   '-ALLOCATE(--+-*YES-+--)-'  '-CONTIG(--+-*YES-+--)-'
 
>--+------------------------------------+----------------------->
   |       (4)   .-*ANY------------.    |
   '-UNIT(-------+-unit-identifier-+--)-'
 
>--+--------------------------------------------------+--------->
   |            .-*NONE--------------------------.    |
   '-FRCRATIO(--+-number-of-records-before-force-+--)-'
 
>--+---------------------------+-------------------------------->
   |         (5)   .-*NO--.    |
   '-IGCDTA(-------+-*YES-+--)-'
 
>--+-------------------------------------+---------------------->
   |            .-*IMMED------------.    |
   '-WAITFILE(--+-*CLS--------------+--)-'
                '-number-of-seconds-'
 
>--+------------------------------------+----------------------->
   |           .-60----------------.    |
   '-WAITRCD(--+-*IMMED------------+--)-'
               +-*NOMAX------------+
               '-number-of-seconds-'
 
>--+---------------------+-------------------------------------->
   |         .-*NO--.    |
   '-SHARE(--+-*YES-+--)-'
 
>--+------------------------------------------------------+----->
   |          .-*NONE--------------------------------.    |
   '-DLTPCT(--+-deleted-records-threshold-percentage-+--)-'
 
>--+------------------------+----------------------------------->
   |            .-*NO--.    |
   '-REUSEDLT(--+-*YES-+--)-'
 
>--+-----------------------------------------------+------------>
   |          .-*SRC--------------------------.    |
   '-SRTSEQ(--+-*JOB--------------------------+--)-'
              +-*LANGIDSHR--------------------+
              +-*LANGIDUNQ--------------------+
              +-*HEX--------------------------+
              | .-*LIBL/--------.             |
              '-+---------------+--table-name-'
                +-*CURLIB/------+
                '-library-name/-'
 
>--+------------------------------------+----------------------->
   '-LANGID--+-*JOB----------------+--)-'
             '-language-identifier-'
 
>--+----------------------------------------------------+------->
   |        (6)   .-*JOB---------------------------.    |
   '-CCSID(-------+-*HEX---------------------------+--)-'
                  '-coded-character-set-identifier-'
 
>--+----------------------+--+----------------------+----------->
   |          .-*YES-.    |  |          .-*YES-.    |
   '-ALWUPD(--+-*NO--+--)-'  '-ALWDLT(--+-*NO--+--)-'
 
>--+----------------------+------------------------------------->
   |          .-*YES-.    |
   '-LVLCHK(--+-*NO--+--)-'
 
>--+--------------------------------------+--------------------->
   |       .-*LIBCRTAUT--------------.    |
   '-AUT(--+-*CHANGE-----------------+--)-'
           +-*ALL--------------------+
           +-*USE--------------------+
           +-*EXCLUDE----------------+
           '-authorization-list-name-'
 
>--+----------------------------------------------------+------->
   |          .-*NONE------------------------------.    |
   |          | .-*LIBL/--------.                  |    |
   '-NODGRP(--+-+---------------+--node-group-name-+--)-'
                +-*CURLIB/------+
                '-library-name/-'
 
>--+-----------------------------------------------+------------>
   |          .-------------------------------.    |
   |          V                          (7)  |    |
   '-PTNKEY(----partition-key-field-name------+--)-'
 
>--+-----------------------------+-----------------------------><
   |        .-*SRCMBRTXT----.    |
   '-TEXT(--+-*BLANK--------+--)-'
            '-'description'-'
 
 

Notes:

  1. To code the following parameters positionally, the user must code them in this order, using *N for those not being specified: SRCFILE, SRCMBR, and RCDLEN.

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

  3. Refer to the parameter description for the default action for this parameter.

  4. This parameter is no longer supported.

  5. DBCS systems only.

  6. If the CCSID parameter is specified, the RCDLEN parameter must also be specified.

  7. A maximum of 300 repetitions.