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:

  1. A maximum of 4 repetitions.

  2. You can specify a pattern for this path name.

  3. A maximum of 300 repetitions.

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

  5. This value cannot be specified when using an optical media library device.

  6. A maximum of 75 repetitions.

  7. Applies to tape devices only.