DCLF (Declare File) syntax diagram


Pgm: B,I
Threadsafe: Yes
               (1)   .-*LIBL/--------.
>>-DCLF--FILE(-------+---------------+--file-name--)------------>
                     +-*CURLIB/------+
                     '-library-name/-'
 
                                                        (3)
>--+--------------------------------------------------+--------->
   |          .-*ALL-----------------------------.    |
   |          | .------------------------------. |    |
   |          | V                    (1)  (2)  | |    |
   '-RCDFMT(--+---record-format-name-----------+-+--)-'
 
>--+-------------------------+--+-----------------------+------->
   |             .-*NO--.    |  |           .-*NO--.    |
   '-ALWVARLEN(--+-*YES-+--)-'  '-ALWNULL(--+-*YES-+--)-'
 
>--+-----------------------------------+------------------------>
   |              .-*NO--. (4) (5)     |
   '-ALWGRAPHIC(--+-*YES-+-----------)-'
 
>--+-------------------------------+---------------------------><
   |             (1)   .-*NO--.    |
   '-ALWUCSCHAR(-------+-*YES-+--)-'
 
 

Notes:

  1. CL variables cannot be coded on this parameter.

  2. A maximum of 50 repetitions.

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

  4. The maximum length is 9997 bytes.

  5. ALWVARLEN(*YES) must be specified if varying graphic data fields are used.