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:
- CL variables cannot be coded on this parameter.
- A maximum of 50 repetitions.
- All parameters preceding this point can be specified in positional form.
- The maximum length is 9997 bytes.
- ALWVARLEN(*YES) must be specified if varying graphic data fields are used.