SAVSYS (Save System) syntax diagram


Job: I Pgm: I REXX: I Exec
Threadsafe: No
>>-SAVSYS--DEV(--+-optical-device-name------------+--)---------->
                 +-tape-media-library-device-name-+
                 | .-----------------------.      |
                 | V                  (1)  |      |
                 '---tape-device-name------+------'
 
                                               (3)
>--+-----------------------------------------+------------------>
   |       .-*MOUNTED-------------------.    |
   |       | .------------------------. |    |
   |       | V                   (2)  | |    |
   '-VOL(--+---volume-identifier------+-+--)-'
 
>--+----------------------------------+------------------------->
   |           .-*PERM-----------.    |
   '-EXPDATE(--+-expiration-date-+--)-'
 
>--+-------------------------+---------------------------------->
   |          .-*REWIND-.    |
   '-ENDOPT(--+-*LEAVE--+--)-'
              '-*UNLOAD-'
 
>--+-------------------------------+---------------------------->
   |        .-*NONE-----------.    |
   |        | .-------------. |    |
   |        | V             | |    |
   '-OMIT(--+---+-*CFG----+-+-+--)-'
                '-*SECDTA-'
 
>--+--------------------------+--------------------------------->
   |          .-*NONE----.    |
   '-OUTPUT(--+-*PRINT---+--)-'
              '-*OUTFILE-'
 
>--+---------------------------------------------------------+-->
   |          (4)   .-*LIBL/--------.                        |
   '-OUTFILE(-------+---------------+--database-file-name--)-'
                    +-*CURLIB/------+
                    '-library-name/-'
 
>--+------------------------------------------------+----------->
   |         (4)   .-*FIRST------.  .-*REPLACE-.    |
   '-OUTMBR(-------+-member-name-+--+-*ADD-----+--)-'
 
>--+-------------------------+--+----------------------+-------->
   |         .-*NONE----.    |  |          .-*DEV-.    |
   '-CLEAR(--+-*ALL-----+--)-'  '-DTACPR(--+-*NO--+--)-'
             +-*AFTER---+                  '-*YES-'
             '-*REPLACE-'
 
>--+-----------------------+--+-------------------------+------->
   |           .-*DEV-.    |  |             .-*YES-.    |
   '-COMPACT(--+-*NO--+--)-'  '-USEOPTBLK(--+-*NO--+--)-'
 
>--+----------------------------------------------------+------><
   |          .-*ALLAVL----------------------------.    |
   '-ASPDEV(--+-*----------------------------------+--)-'
              +-*SYSBAS----------------------------+
              +-*CURASPGRP-------------------------+
              '-auxiliary-storage-pool-device-name-'
 
 

Notes:

  1. A maximum of 4 repetitions.

  2. A maximum of 75 repetitions.

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

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