FILDOC (File Document) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No (1) >>-FILDOC--TYPE(--+-*FILE--+--)---------------------------------> +-*IDP---+ '-*DSTID-' >--+--------------------------------------------------------+---> | .-*NONE---------------------------------. | | | .-*LIBL/--------. | | '-DOCFILE(--+-+---------------+--database-file-name-+--)-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------------+------------------------------> | .-*FIRST------. | '-DOCMBR(--+-member-name-+--)-' >--+--------------------------------+---------------------------> | .-*NONE-----------. | '-DSTID(--+-distribution-ID-+--)-' >--+--------------------------------------------------+---------> | (2) .-*NONE---------------------. | '-DSTIDEXN(-------+-distribution-ID-extension-+--)-' >--+--------------------+---------------------------------------> | .-*NO--. | '-KEEP(--+-*YES-+--)-' '-*REF-' >--+--------------------------------------------------------------------+--> | .-*NONE----------------. .-*ENDOFDAY------------. | '-DSTEXPDATE(--+-*CURRENT-------------+--+-dist-expiration-time-+--)-' '-dist-expiration-date-' >--+--------------------------------------+---------------------> | .-*CURRENT--------------. | '-USRID(--+-user-ID--user-address-+--)-' >--+------------------------------+-----------------------------> | .-*NONE---------. | '-TODOC(--+-document-name-+--)-' >--+----------------------------+-------------------------------> | .-*NONE-------. | '-TOFLR(--+-folder-name-+--)-' >--+--------------------------------------+---------------------> | .-*NONE---------. (3) | +-SENSITIV(--+-*PERSONAL-----+-------)-+ | +-*PRIVATE------+ | | '-*CONFIDENTIAL-' | | .-*NO--. (3) | '-PERSONAL(--+-*YES-+-------)----------' >--+-----------------------------------+------------------------> | .-*NONE----------------. | | | .------------------. | | | | V (4) | | | '-ACC(--+---access-code------+-+--)-' >--+--------------------------------------------------------------------+--> | .-*NONE----------------------------------------------. | | | .------------------------------------------------. | | | | V .-*EXCLUDE-. (4) | | | '-USRAUT(--+---(--+-------------------+--+-*USE-----+--)------+-+--)-' +-*PUBLIC-----------+ +-*CHANGE--+ '-user-profile-name-' +-*ALL-----+ '-*AUTL----' >--+----------------------------------+-------------------------> | .-*NONE--------------. | '-AUTL(--+-authorization-list-+--)-' >--+----------------------+-------------------------------------> | .-*NO--. | '-ALWRPL(--+-*YES-+--)-' >--+--------------------------------------------------------+---> | .-*NONE---------------------------------. | | | (5) | | '-IDPFILE(--+-*DOCFILE------------------------------+--)-' | (6) | +-*DSTIDIDP-----------------------------+ | .-*LIBL/--------. | '-+---------------+--database-file-name-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------------+------------------------------> | .-*FIRST------. | '-IDPMBR(--+-member-name-+--)-' >--+---------------------------------------+--------------------> | (7) | | .-*DFT-----------------. | '-DOCTYPE(--+-*FFT-----------------+--)-' +-*RFT-----------------+ '-document-type-number-' >--+-------------------------------+----------------------------> | .-*DFT----------. | '-SYSCOD(--+-'system-code'-+--)-' >--+--------------------------------------+---------------------> | .-*DFT-------------------. | '-DOCD(--+-'document-description'-+--)-' >--+--------------------------------------------+---------------> | .-*NONE----------------------. | '-AUTHOR(--+-*USRID---------------------+--)-' | .------------------------. | | V (4) | | '---'document-author'------+-' >--+----------------------------------+-------------------------> | .-*NONE------------. | '-DOCCLS(--+-'document-class'-+--)-' >--+--------------------------------------------+---------------> | .-*NONE-------------------------. | | | .---------------------------. | | | | V (4) | | | '-KWD(--+---'document-parameter'------+-+--)-' >--+----------------------------------------------+-------------> | .-*NONE-----------------------. | '-SUBJECT(--+-*DOCD-----------------------+--)-' | .-------------------------. | | V (4) | | '---'document-subject'------+-' >--+---------------------------------+--------------------------> | .-*NONE----------. | '-DOCDATE(--+-*CURRENT-------+--)-' '-'date-written'-' >--+-------------------------------------------------+----------> | (8) .-*NONE----------------------. | '-FILCAB(-------+-'filing-cabinet-reference'-+--)-' >--+-------------------------------------------+----------------> | .-*NONE---------------------. | | | .-----------------------. | | | | V (4) | | | '-CPYLST(--+---'recipient-name'------+-+--)-' >--+----------------------------------+-------------------------> | .-*NONE-----------. | '-EXPDATE(--+-expiration-date-+--)-' >--+------------------------------+-----------------------------> | .-*NONE-----. | '-REFERENCE(--+-reference-+--)-' >--+------------------------------+-----------------------------> | .-*NONE-------. | '-ACTDATE(--+-*CURRENT----+--)-' '-action-date-' >--+--------------------------------------+---------------------> | .-*NONE----------------. | '-STATUS(--+-'status-of-document'-+--)-' >--+--------------------------------+---------------------------> | .-*NONE---------. | '-CMPDATE(--+-*CURRENT------+--)-' '-date-complete-' >--+--------------------------+---------------------------------> | .-*NONE---. | '-PROJECT(--+-project-+--)-' >--+----------------------------------------------------+-------> | .-*SYSVAL--------------------------. | '-DOCCHRID(--+-*DEVD----------------------------+--)-' '-graphic-character-set--code-page-' >--+----------------------------------------+-------------------> | .-*JOB----------------. | '-DOCLANGID(--+-language-identifier-+--)-' >--+----------------------------------------+-------------------> | .-*JOB---------------. | '-DOCCNTRYID(--+-country-identifier-+--)-' >--+---------------------------------------------------------+->< | (9) .-*SYSVAL--------------------------. | '-CMDCHRID(-------+-*DEVD----------------------------+--)-' '-graphic-character-set--code-page-'
Notes:
- All parameters preceding this point can be specified in positional form.
- This parameter is valid only when TYPE(*IDP) is specified.
- PERSONAL and SENSITIV are mutually exclusive.
- A maximum of 50 repetitions.
- This value is valid only when TYPE(*FILE) is specified.
- This value is valid only when TYPE(*DSTID) is specified.
- If DOCFILE(database-file-name) is specified, this value cannot be specified.
- This parameter is required when TYPE(*IDP) and IDPFILE(*NONE) are specified.
- This parameter applies to the following parameters: DSTID, USRID, SYSCOD, DOCD, AUTHOR, DOCCLS, KWD, SUBJECT, FILCAB, CPYLST, REFERENCE, STATUS, and PROJECT.