RPLDOC (Replace Document) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-RPLDOC--TODOC(--+-*DOCID--------+--)-------------------------> '-document-name-' .-*LIBL/--------. (1) >--DOCFILE(--+---------------+--database-file-name--)-----------> +-*CURLIB/------+ '-library-name/-' >--+-------------------------------+----------------------------> | (2) (3) | | .-*NONE----------. | '-TOFLR(--+-folder-name----+--)-' >--+-------------------------------------------------+----------> | .-*NONE----------------------------. | '-DOCID(--+-'library-assigned-document-name'-+--)-' >--+-----------------------------+------------------------------> | .-*FIRST------. | '-DOCMBR(--+-member-name-+--)-' >--+------------------------+-----------------------------------> | .-*DOC--. | '-DOCPART(--+-*IDP--+--)-' '-*BOTH-' >--+--------------------------------------------+---------------> | (4) .-*DFT-----------------. | '-DOCTYPE(-------+-*FFT-----------------+--)-' +-*RFT-----------------+ '-document-type-number-' >--+--------------------------------------+---------------------> | .-*CURRENT--------------. | '-USRID(--+-user-ID--user-address-+--)-' >--+----------------------------------------------------+-------> | .-*SYSVAL--------------------------. | '-DOCCHRID(--+-*DEVD----------------------------+--)-' '-graphic-character-set--code-page-' >--+----------------------------------------------------+------>< | .-*SYSVAL--------------------------. | '-CMDCHRID(--+-*DEVD----------------------------+--)-' '-graphic-character-set--code-page-'
Notes:
- All parameters preceding this point can be specified in positional form.
- This value cannot be specified when a document name is specified on the TODOC parameter.
- This value must be specified when a document is specified on the DOCID parameter.
- This parameter is ignored if only the IDP is being replaced.