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:
- FROMFLR(*NONE) and DOCID(library-assigned-document-name) must be specified if this value is specified.
- FROMFLR(folder-name) and DOCID(*NONE) must be specified if this value is specified.
- This parameter must be specified if a document name is specified on the FROMDOC parameter.
- This value must be specified when FROMDOC(*DOCID) is specified.
- All parameters preceding this point can be specified in positional form.
- This value must be specified when FROMDOC(document-name) is specified.
- A maximum of 19 repetitions.