RTVDOC (Retrieve Document) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
                              (1)
>>-RTVDOC--FROMDOC(--+-*DOCID-------------+--)------------------>
                     |               (2)  |
                     '-document-name------'
 
                                         (5)
>--+-----------------------------------+------------------------>
   |                        (4)        |
   |          (3)   .-*NONE-------.    |
   '-FROMFLR(-------+-folder-name-+--)-'
 
>--+----------------------------------------------------+------->
   |                 (6)                                |
   |         .-*NONE-------------------------------.    |
   |         |                                (4)  |    |
   '-DOCID(--+-library-assigned-document-name------+--)-'
 
>--+--------------------------------------+--------------------->
   |         .-*CURRENT--------------.    |
   '-USRID(--+-user-ID--user-address-+--)-'
 
>--+----------------------+------------------------------------->
   |          .-*NO--.    |
   '-CHKOUT(--+-*YES-+--)-'
 
>--+--------------------------------------------------------+--->
   |           .-*NONE---------------------------------.    |
   |           | .-*LIBL/--------.                     |    |
   '-OUTFILE(--+-+---------------+--database-file-name-+--)-'
                 +-*CURLIB/------+
                 '-library-name/-'
 
>--+-------------------------------------------+---------------->
   |          .-*FIRST------.  .-*REPLACE-.    |
   '-OUTMBR(--+-member-name-+--+-*ADD-----+--)-'
 
>--+------------------------------------------+----------------->
   |             .-*DFT------------------.    |
   '-OUTDTATYP(--+-*ALL------------------+--)-'
                 | .-------------------. |
                 | V              (7)  | |
                 '---+-*DOCD----+------+-'
                     +-*DOCCLS--+
                     +-*SUBJECT-+
                     +-*FILCAB--+
                     +-*AUTHOR--+
                     +-*KWD-----+
                     +-*CPYLST--+
                     +-*FILDATE-+
                     +-*EXPDATE-+
                     +-*DOCDATE-+
                     +-*CRTDATE-+
                     +-*ACTDATE-+
                     +-*CHGDATE-+
                     +-*CMPDATE-+
                     +-*REF-----+
                     +-*STATUS--+
                     +-*PROJECT-+
                     +-*IDP-----+
                     '-*DOC-----'
 
>--+----------------------------------------------------+------><
   |            .-*SYSVAL--------------------------.    |
   '-CMDCHRID(--+-*DEVD----------------------------+--)-'
                '-graphic-character-set--code-page-'
 
 

Notes:

  1. FROMFLR(*NONE) and DOCID(library-assigned-document-name) must be specified if this value is specified.

  2. FROMFLR(folder-name) and DOCID(*NONE) must be specified if this value is specified.

  3. This parameter must be specified if a document name is specified on the FROMDOC parameter.

  4. This value must be specified when FROMDOC(*DOCID) is specified.

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

  6. This value must be specified when FROMDOC(document-name) is specified.

  7. A maximum of 19 repetitions.