RSTDLO (Restore Document Library Object) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-RSTDLO--DLO(--+-*ALL-------------------+--)------------------> +-*MAIL------------------+ +-*SYSOBJNAM-------------+ | .--------------------. | | V (1) | | '---document-name------+-' (3) >--DEV(--+-*SAVF--------------------------+--)------------------> +-diskette-device-name-----------+ +-optical-device-name------------+ +-tape-media-library-device-name-+ | .-----------------------. | | V (2) | | '---tape-device-name------+------' >--+--------------------------------------------+---------------> | .-*ANY-----------------------. | | | (4) | | '-SAVFLR(--+-*NONE----------------------+--)-' | .------------------------. | | V (1) | | '---saved-folder-name------+-' >--+--------------------------------------------+---------------> | .-*SAME----------------------. | | | .------------------------. | | | | V (1) | | | '-RENAME(--+---new-document-name------+-+--)-' >--+------------------------------------------+-----------------> | .-*SAME--------------------. | | | (5) | | '-RSTFLR(--+-restore-folder-name------+--)-' >--+------------------------------------------------+-----------> | .-*NONE-----------------------. | | | .-------------------------. | | | | V (1) | | | '-SYSOBJNAM(--+---system-object-name------+-+--)-' >--+-----------------------------------------+------------------> | (6) | | .-*MOUNTED-------------------. | | | .------------------------. | | | | V (7) | | | '-VOL(--+---volume-identifier------+-+--)-' >--+--------------------------------------------------------------------------------+--> | .-*SEARCH-----------------------------------------------. | | (8) (9) | .-*ONLY------------------. | | '-SEQNBR(-----------+-beginning-sequence-number--+------------------------+-+--)-' '-ending-sequence-number-' >--+-------------------------+----------------------------------> | .-*REWIND-. | '-ENDOPT(--+-*LEAVE--+--)-' '-*UNLOAD-' >--+-------------------------------------+----------------------> | .-*GEN-----------------. | '-LABEL(--+-data-file-identifier-+--)-' >--+---------------------------------------------+--------------> | .-*LIBL/--------. | '-SAVF(--+---------------+--save-file-name--)-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------+------------------------------------> | .-*SAME-. | '-NEWOBJ(--+-*NEW--+--)-' >--+------------------------------+-----------------------------> '-SAVDATE(--date-when-saved--)-' >--+------------------------------+-----------------------------> '-SAVTIME(--time-when-saved--)-' >--+--------------------------+---------------------------------> | .-*NONE-. | '-ALWOBJDIF(--+-*ALL--+--)-' >--+-----------------------------------------------------+------> | .-*ANY--------------------------------. | | | (10) | | '-SAVASP(--+-auxiliary-storage-pool-number-------+--)-' >--+-----------------------------------------------+------------> | (11) | | .-*SAVASP-----------------------. | '-RSTASP(--+-auxiliary-storage-pool-number-+--)-' >--+--------------------------+---------------------------------> | .-*NONE----. | '-OUTPUT(--+-*PRINT---+--)-' '-*OUTFILE-' >--+----------------------------------------------------------+--> | (12) .-*LIBL/--------. | '-OUTFILE(--------+---------------+--database-file-name--)-' +-*CURLIB/------+ '-library-name/-' >--+-------------------------------------------------+----------> | (12) .-*FIRST------. .-*REPLACE-. | '-OUTMBR(--------+-member-name-+--+-*ADD-----+--)-' >--+--------------------------------------------------+-------->< | .-'*'-----------------------------. | '-OPTFILE(--+-'optical-directory-path-name/*'-+--)-' '-'optical-file-path-name'--------'
Notes:
- A maximum of 300 repetitions.
- A maximum of 4 repetitions.
- All parameters preceding this point can be specified positionally.
- *NONE is valid only when DLO(*ALL) is specified.
- This value is not valid when DLO(*SYSOBJNAM) is specified.
- This value cannot be specified when using an optical media library device.
- A maximum of 75 repetitions.
- For restore from diskette, or if SEQNBR(*SEARCH) is used to restore from tape, only the first file on diskette or tape that contains saved documents is restored.
- Applies to tape devices only.
- This value is not valid when a user-defined value is specified on the LABEL parameter.
- This value is required when DLO(*MAIL) is specified.
- This parameter is valid only when OUTPUT(*OUTFILE) is specified.