ADDMEDBRM (Add Media to BRM) syntax diagram


Job: B,I Pgm: B,I REXX: B,I Exec
>>-ADDMEDBRM--VOL(----volume-identifier----)-------------------->
 
                               (1)
>--MEDCLS(----media-class----)---------------------------------->
 
>--+-------------------------------+---------------------------->
   |          .-1-------------.    |
   '-VOLCNT(--+-number-to-add-+--)-'
 
>--+------------------------+--+---------------------+---------->
   |       .-*NO-------.    |  |        .-*NONE-.    |
   |       |      (2)  |    |  '-TEXT(--+-text--+--)-'
   '-INZ(--+-*YES------+--)-'
 
>--+----------------------------------+------------------------->
   |           .-*NONE-----------.    |
   '-EXPDATE(--+-*PERM-----------+--)-'
               '-expiration-date-'
 
>--+------------------------------------------------+----------->
   |           .-*LCL--------------------------.    |
   |           |               (3)             |    |
   '-SYSNAME(--+-location-name-----------------+--)-'
               |                          (3)  |
               '-network-id.location-name------'
 
>--+--------------------------------+--------------------------->
   |           .-*CURRENT------.    |
   '-CRTDATE(--+-creation-date-+--)-'
 
>--+---------------------------+-------------------------------->
   |        (2)                |
   '-DEV(---------tape-unit--)-'
 
>--+----------------------------------------+------------------->
   |            .-*BLANK---------------.    |
   '-NEWOWNID(--+-new-owner-identifier-+--)-'
 
>--+-----------------------+--+-----------------------+--------->
   |         .-*YES---.    |  |        .-*EBCDIC-.    |
   '-CHECK(--+-*NO----+--)-'  '-CODE(--+-*ASCII--+--)-'
             '-*FIRST-'
 
>--+-------------------------+--+---------------------+--------->
   |          .-*REWIND-.    |  |         .-*NO--.    |
   '-ENDOPT(--+-*UNLOAD-+--)-'  '-CLEAR(--+-*YES-+--)-'
 
>--+-------------------------+---------------------------------->
   |             .-*YES-.    |
   '-NXTVOLMSG(--+-*NO--+--)-'
 
>--+--------------------------------+--------------------------->
   |       .-*DEV--------------.    |
   '-DLY(--+-*IMMED------------+--)-'
           '-number-of-seconds-'
 
>--+----------------------------+------------------------------->
   |       .-*HOME---------.    |
   '-LOC(--+-location-name-+--)-'
 
>--+---------------------------+-------------------------------->
   |        .-*NEXT-------.    |
   '-SLOT(--+-*NONE-------+--)-'
            '-slot-number-'
 
>--+----------------------------+------------------------------->
   |           .-*NONE-----.    |
   '-MOVDATE(--+-move-date-+--)-'
 
>--+--------------------------------+--------------------------->
   |       .-*NONE-------------.    |
   '-CNR(--+-container-ID-name-+--)-'
 
>--+----------------------------------+------------------------->
   |          .-*NONE------------.    |
   '-MOVPCY(--+-move-policy-name-+--)-'
 
>--+----------------------------+------------------------------->
   |          .-0----------.    |
   '-USECNT(--+-media-uses-+--)-'
 
>--+------------------------------+----------------------------->
   |           .-0-----------.    |
   '-READERR(--+-read-errors-+--)-'
 
>--+------------------------------+----------------------------->
   |          .-0------------.    |
   '-WRTERR(--+-write-errors-+--)-'
 
>--+------------------------------+----------------------------->
   |            .-0----------.    |
   '-BYTEREAD(--+-bytes-read-+--)-'
 
>--+--------------------------------+--------------------------->
   |           .-0-------------.    |
   '-BYTEWRT(--+-bytes-written-+--)-'
 
>--+-----------------------------------------+------------------>
   |            .-0---------------------.    |
   '-CURBYTES(--+-current-bytes-written-+--)-'
 
>--+-----------------------------------------+------------------>
   |            .-0---------------------.    |
   '-MAXBYTES(--+-maximum-bytes-written-+--)-'
 
>--+-------------------------------------+---------------------->
   |           .-*NONE--------------.    |
   '-LASTCLN(--+-last-cleaning-date-+--)-'
 
>--+-------------------------------------+---------------------><
   |          .-0-------------------.    |
   '-USECLN(--+-uses-since-cleaning-+--)-'
 
 

Notes:

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

  2. If INZ(*YES) is specified, the device parameter (DEV) is required.

  3. Network feature required to use this value.