RST (Restore) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-RST--DEV(--+-'save-file-path-name'-----------------+--)------> +-'diskette-device-path-name'-----------+ +-'optical-device-path-name'------------+ +-'tape-media-library-device-path-name'-+ | .-----------------------------. | | V | (1) | '-----'tape-device-path-name'---+-------' (4) >--+----------------------------------------------------------------------------------------+-------> | .---------------------------------------------------------------------------. | | | .-'*'---------------------. | | | V | (2) | .-*INCLUDE-. .-*SAME-----------. (3) | | '-OBJ(----(--+-'object-path-name'------+--+-*OMIT----+--+-'new-path-name'-+--)------+--)-' >--+------------------------+--+----------------------+---------> | .-*ALL--. | | .-*LCL-. | '-SUBTREE(--+-*DIR--+--)-' '-SYSTEM(--+-*RMT-+--)-' +-*NONE-+ '-*ALL-' +-*OBJ--+ '-*STG--' >--+------------------------------+-----------------------------> '-SAVDATE(--date-when-saved--)-' >--+------------------------------+--+----------------------+---> '-SAVTIME(--time-when-saved--)-' | .-*ALL-. | '-OPTION(--+-*NEW-+--)-' '-*OLD-' >--+----------------------------------------+-------------------> | .-*NONE---------------. | '-ALWOBJDIF(--+-*ALL----------------+--)-' | .------------. | | V | (1) | '---+-*OWNER-+-+------' '-*AUTL--' >--+-----------------------------------+------------------------> | .-*SYSVAL--------. | '-FRCOBJCVN(--+-*NO------------+--)-' | .-*RQD-. | '-*YES--+-*ALL-+-' >--+-----------------------+------------------------------------> | .-*SAVED-. | '-OBJID(--+-*SYS---+--)-' >--+---------------------------------------------+--------------> | (5) | | .-*MOUNTED-----------------------. | | | .-----------------------. | | | | V | (6) | | '-VOL(--+-----volume-identifier---+------+--)-' >--+-----------------------------------------+------------------> | .-*SEARCH------------------. | '-LABEL(--+-diskette-file-identifier-+--)-' '-tape-file-identifier-----' >--+--------------------------------------+---------------------> | (7) .-*SEARCH---------. | '-SEQNBR(-------+-sequence-number-+--)-' >--+-------------------------+----------------------------------> | .-*REWIND-. | '-ENDOPT(--+-*LEAVE--+--)-' '-*UNLOAD-' >--+--------------------------------------------------+---------> | .-*-------------------------------. | '-OPTFILE(--+-'optical-directory-path-name/*'-+--)-' '-'optical-file-path-name'--------' >--+-----------------------------------------+------------------> | .-*NONE-------------------. | '-OUTPUT(--+-*PRINT------------------+--)-' +-'user-space-path-name'--+ '-'stream-file-path-name'-' >--+---------------------------+------------------------------->< | .-*ALL-----. | '-INFTYPE(--+-*ERR-----+--)-' '-*SUMMARY-'
Notes:
- A maximum of 4 repetitions.
- You can specify a pattern for this path name.
- A maximum of 300 repetitions.
- All parameters preceding this point can be specified in positional form.
- This value cannot be specified when using an optical media library device.
- A maximum of 75 repetitions.
- Applies to tape devices only.