SAVBRM (Save Object Using BRM) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
Threadsafe: No
>>-SAVBRM--+------------------------------------+--------------->
           |          .-*NONE--------------.    |
           '-CTLGRP(--+-*BKUGRP------------+--)-'
                      |         (1)        |
                      +-*ARCGRP------------+
                      +-*SYSGRP------------+
                      '-control-group-name-'
 
>--+-------------------------+---------------------------------->
   |             .-*NO--.    |
   '-CTLGRPATR(--+-*YES-+--)-'
 
>--DEV(--+-*NONE--------------------+--)------------------------>
         | .----------------------. |
         | V                 (2)  | |
         '---+-*MEDCLS-----+------+-'
             '-device-name-'
 
                                (3)
>--MEDPCY(--+-*SYSPCY------+--)--------------------------------->
            +-*NONE--------+
            '-media-policy-'
 
>--+-----------------------------------------------------+------>
   |       .-*------------------------.  .-*INCLUDE-.    |
   '-OBJ(--+-object-path-name-pattern-+--+-*OMIT----+--)-'
 
>--+------------------------+--+-----------------------+-------->
   |           .-*ALL--.    |  |          .-*NO---.    |
   '-SUBTREE(--+-*DIR--+--)-'  '-SAVACT(--+-*YES--+--)-'
               +-*NONE-+                  '-*SYNC-'
               '-*OBJ--'
 
>--+-------------------------------+---------------------------->
   |             .-*NONE------.    |
   '-SAVACTOPT(--+-*ALWCKPWRT-+--)-'
 
>--+-----------------------------------------------------------+-->
   |              .-*NONE---------------------------------.    |
   '-SAVACTMSGQ(--+-*WRKSTN-------------------------------+--)-'
                  | .-*LIBL/--------.                     |
                  '-+---------------+--message-queue-name-'
                    +-*CURLIB/------+
                    '-library-name/-'
 
>--+---------------------------------+-------------------------->
   |            (4)   .-*BKUPCY-.    |
   '-USEOPTBLK(-------+-*DEV----+--)-'
                      +-*NO-----+
                      '-*YES----'
 
>--+-----------------------------+------------------------------>
   |          (4)   .-*FULL-.    |
   '-SAVTYPE(-------+-*CUML-+--)-'
                    '-*INCR-'
 
>--+-------------------------+---------------------------------->
   |          .-*REWIND-.    |
   '-ENDOPT(--+-*LEAVE--+--)-'
              '-*UNLOAD-'
 
>--+-------------------------------------------+---------------->
   |         (4)   .-*END-----------------.    |
   '-SEQNBR(-------+-file-sequence-number-+--)-'
 
>--+------------------------------------+----------------------->
   |         (4)   .-*CURRENT------.    |
   '-TGTRLS(-------+-*PRV----------+--)-'
                   '-release-level-'
 
>--+----------------------------+------------------------------->
   |        (4)   .-*NONE--.    |
   '-CLEAR(-------+-*ALL---+--)-'
                  '-*AFTER-'
 
>--+---------------------------+-------------------------------->
   |         (4)   .-*NO--.    |
   '-PRECHK(-------+-*YES-+--)-'
 
>--+---------------------------+-------------------------------->
   |         (4)   .-*DEV-.    |
   '-DTACPR(-------+-*NO--+--)-'
                   '-*YES-'
 
>--+----------------------------+------------------------------->
   |          (4)   .-*DEV-.    |
   '-COMPACT(-------+-*NO--+--)-'
 
>--+--------------------------------------+--------------------->
   |          (4)   .-*REF-----------.    |
   '-REFDATE(-------+-reference-date-+--)-'
 
>--+--------------------------------------+--------------------->
   |          (4)   .-*REF-----------.    |
   '-REFTIME(-------+-reference-time-+--)-'
 
>--+---------------------------------------+-------------------->
   |          (5)   .-*MEDPCY---------.    |
   '-EXPDATE(-------+-*PERM-----------+--)-'
                    '-expiration-date-'
 
>--+----------------------------------+------------------------->
   |               .-*MEDPCY-----.    |
   |         (5)   |       (6)   |    |
   '-MOVPCY(-------+-*ADSM-------+--)-'
                   +-*NONE-------+
                   '-move-policy-'
 
>--+----------------------------------+------------------------->
   |               .-*MEDPCY-----.    |
   |         (5)   |       (6)   |    |
   '-MEDCLS(-------+-*ADSM-------+--)-'
                   +-*SYSPCY-----+
                   +-*NONE-------+
                   '-media-class-'
 
>--+----------------------------+------------------------------->
   |      (5)   .-*MEDPCY--.    |
   '-LOC(-------+-*HOME----+--)-'
                +-*ANY-----+
                '-location-'
 
>--+----------------------------+------------------------------->
   |       (5)   .-*MEDPCY-.    |
   '-SAVF(-------+-*NO-----+--)-'
                 '-*YES----'
 
>--+--------------------------------------------+--------------->
   |          (5)   .-*MEDPCY--------------.    |
   '-SAVFASP(-------+-*SYSTEM--------------+--)-'
                    +-save-file-ASP-number-+
                    '-save-file-ASP-name---'
 
>--+---------------------------------------+-------------------->
   |          (5)   .-*MEDPCY---------.    |
   '-SAVFEXP(-------+-*NONE-----------+--)-'
                    +-*PERM-----------+
                    '-expiration-date-'
 
>--+------------------------------------+----------------------->
   |         (5)   .-*MEDPCY-------.    |
   '-MAXSTG(-------+-storage-limit-+--)-'
 
>--+---------------------------------+-------------------------->
   |               .-*MEDPCY----.    |
   |         (5)   |       (6)  |    |
   '-VOLSEC(-------+-*ADSM------+--)-'
                   +-*NO--------+
                   '-*YES-------'
 
>--+---------------------------------------------+-------------->
   |         (5)   .-*MEDPCY----------------.    |
   '-MINVOL(-------+-*NONE------------------+--)-'
                   |                   (7)  |
                   '-number-of-volumes------'
 
>--+---------------------------------+-------------------------->
   |          (5)   .-*MEDPCY---.    |
   '-MARKDUP(-------+-*NO-------+--)-'
                    |      (7)  |
                    '-*YES------'
 
>--+------------------------+----------------------------------->
   |         .-*NEW----.    |
   '-PKGID(--+-*PRVSAV-+--)-'
 
>--+-------------------------------------------------------------+-->
   |             (8)   .-*NONE------------------------------.    |
   '-RCYEXITPGM(-------+-library-name/recovery-exit-program-+--)-'
 
>--+---------------------------------------------+-------------><
   |             (8)   .-*NONE--------------.    |
   '-RCYEXITDTA(-------+-recovery-exit-data-+--)-'
 
 

Notes:

  1. Advanced Functions feature required to use value.

  2. A maximum of 4 repetitions. Only 1 device if MEDCLS(*ADSM) is specified.

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

  4. If CTLGRPATR(*YES) is specified, this parameter cannot be specified. The value for this parameter will be determined from the attributes of the control group specified on the CTLGRP parameter.

  5. If CTLGRPATR(*YES) is specified, the value *MEDPCY must be specified.

  6. *ADSM required when MOVPCY(*ADSM), MEDCLS(*ADSM), or VOLSEC(*ADSM) is specified.

  7. Not allowed when MEDCLS(*ADSM).

  8. RCYEXITPGM and RCYEXITDTA can be specified only if PKGID(*NEW) is specified.