SAVCFG (Save Configuration) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
                                                       (2)
>>-SAVCFG--DEV(--+-*SAVF--------------------------+--)---------->
                 +-optical-device-name------------+
                 +-tape-media-library-device-name-+
                 | .-----------------------.      |
                 | V                  (1)  |      |
                 '---tape-device-name------+------'
 
>--+-----------------------------------------+------------------>
   |       .-*MOUNTED-------------------.    |
   |       | .------------------------. |    |
   |       | V                   (1)  | |    |
   '-VOL(--+---volume-identifier------+-+--)-'
 
>--+--------------------------------------+--------------------->
   |         (3)   .-*END------------.    |
   '-SEQNBR(-------+-sequence-number-+--)-'
 
>--+----------------------------------+------------------------->
   |           .-*PERM-----------.    |
   '-EXPDATE(--+-expiration-date-+--)-'
 
>--+-------------------------+---------------------------------->
   |          .-*REWIND-.    |
   '-ENDOPT(--+-*LEAVE--+--)-'
              '-*UNLOAD-'
 
>--+-------------------------------------------------+---------->
   |        .-*LIBL/--------.                        |
   '-SAVF(--+---------------+----save-file-name----)-'
            +-*CURLIB/------+
            '-library-name/-'
 
>--+-------------------------+--+----------------------+-------->
   |         .-*NONE----.    |  |          .-*NO--.    |
   '-CLEAR(--+-*ALL-----+--)-'  '-PRECHK(--+-*YES-+--)-'
             +-*AFTER---+
             '-*REPLACE-'
 
>--+----------------------+--+-----------------------+---------->
   |          .-*DEV-.    |  |           .-*DEV-.    |
   '-DTACPR(--+-*NO--+--)-'  '-COMPACT(--+-*NO--+--)-'
              '-*YES-'
 
>--+--------------------------+--------------------------------->
   |          .-*NONE----.    |
   '-OUTPUT(--+-*PRINT---+--)-'
              '-*OUTFILE-'
 
>--+--------------------------------------------------------+--->
   |           .-*LIBL/--------.                            |
   '-OUTFILE(--+---------------+----database-file-name----)-'
               +-*CURLIB/------+
               '-library-name/-'
 
>--+-------------------------------------------+---------------->
   |          .-*FIRST------.  .-*REPLACE-.    |
   '-OUTMBR(--+-member-name-+--+-*ADD-----+--)-'
 
>--+-------------------------+---------------------------------->
   |             .-*YES-.    |
   '-USEOPTBLK(--+-*NO--+--)-'
 
>--+--------------------------------------------------+--------><
   |           .-'*'-----------------------------.    |
   '-OPTFILE(--+-'optical-directory-path-name/*'-+--)-'
 
 

Notes:

  1. A maximum of 75 repetitions.

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

  3. Applies to tape devices only.