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:

  1. A maximum of 300 repetitions.

  2. A maximum of 4 repetitions.

  3. All parameters preceding this point can be specified positionally.

  4. *NONE is valid only when DLO(*ALL) is specified.

  5. This value is not valid when DLO(*SYSOBJNAM) is specified.

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

  7. A maximum of 75 repetitions.

  8. 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.

  9. Applies to tape devices only.

  10. This value is not valid when a user-defined value is specified on the LABEL parameter.

  11. This value is required when DLO(*MAIL) is specified.

  12. This parameter is valid only when OUTPUT(*OUTFILE) is specified.