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:

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

  2. This parameter is valid only when TYPE(*IDP) is specified.

  3. PERSONAL and SENSITIV are mutually exclusive.

  4. A maximum of 50 repetitions.

  5. This value is valid only when TYPE(*FILE) is specified.

  6. This value is valid only when TYPE(*DSTID) is specified.

  7. If DOCFILE(database-file-name) is specified, this value cannot be specified.

  8. This parameter is required when TYPE(*IDP) and IDPFILE(*NONE) are specified.

  9. This parameter applies to the following parameters: DSTID, USRID, SYSCOD, DOCD, AUTHOR, DOCCLS, KWD, SUBJECT, FILCAB, CPYLST, REFERENCE, STATUS, and PROJECT.