Before you begin: To use the RMM ADDVOLUME subcommand, you need either CONTROL access to the STGADMIN.EDG.MASTER resource profile, or CONTROL access to the STGADMIN.EDG.AV.status.volser profiles, depending on the security roles you have implemented.
Use the ADDVOLUME subcommand to add one or more volumes to DFSMSrmm. Use the MEDINF operand to connect a volume to the media information defined in DFSMSrmm parmlib member EDGRMMxx.
You must supply a volume serial number and volume status. If you are adding more than one volume, you must supply an initial volume serial number and how many volumes you want to add (COUNT). If you are adding a volume with a volume serial number that is less than six characters, you must also include a rack number or a pool prefix.
When you are adding volumes that reside in a manual tape library, you must specify the MEDIATYPE operand.
You can use the RMM ADDVOLUME subcommand to define volumes to DFSMSrmm. When you are defining WORM tapes to DFSMSrmm, allow DFSMSrmm to record the volume WWID when the volume is first used on the system rather than specifying the WWID yourself. This ensures that the WWID for the volume is recorded correctly.
For a | If you do not specify a rack number or a pool prefix |
---|---|
Physical volume | DFSMSrmm tries to use the volume serial number of the volume as the rack number. If DFSMSrmm cannot find the rack number that matches the volume serial number, no rack number is assigned. |
Logical volume | DFSMSrmm does not assign a rack number to the logical volume because the logical volume's association is with a stacked volume container or library rather than a rack number or pool. |
Stacked volume | DFSMSrmm tries to use the volume serial number of the volume as the rack number. If DFSMSrmm cannot find the rack number that matches the volume serial number, no rack number is assigned. |
Use the TYPE operand to indicate the type of volume that is being added. When you add a volume that resides in a system-managed library, you do not have to specify the TYPE operand because DFSMSrmm can identify the volume type. If you are adding a stacked volume or a logical volume to a location other than a system-managed VTS, we recommend that you always specify the TYPE operand.
Use the MEDIANAME operand to indicate the name or type of media. If you add the volume to a pool, the media name you use must match the type of media defined for the pool or your ADDVOLUME request fails.
Use the LOCATION operand to indicate where the volume resides: either a shelf location in a non-system-managed tape library, or a system-managed tape library defined by your installation. This also sets the volume's home location, which is where you want a volume returned when it is no longer retained by a vital record specification.
Use the NUMBER, FEATCD, and LEVEL operands to associate the volume with a software product. The software product already defined to DFSMSrmm before you can associate it with a volume.
When you specify ADDVOLUME STATUS(VOLCAT), DFSMSrmm uses information in the TCDB to update the DFSMSrmm control data set. The control data set information that can be updated includes: COMPACTION, CONTAINER, EXPDT, HOME, LOCATION, MEDIATYPE, READDATE, RECORDINGFORMAT, SPECIALATTRIBUTES, STATUS, STORAGEGROUP, TYPE, and WRITEDATE.
If you use any non-scratch operands when adding scratch volumes, DFSMSrmm ignores the non-scratch operands.
ADDVOLUME Volume Operands
>>-+-ADDVOLUME-+--volser----------------------------------------> '-AV--------' >--+-STATUS(SCRATCH)----------------------------------+---------> | (1) | '-STATUS(-+-MASTER-+-)------Non-SCRATCH parameters-' +-USER---+ '-VOLCAT-' >--+------------------------------+-----------------------------> '-ACCOUNT(account_information)-' >--+----------------------------------+-------------------------> | .-current_date--. | '-+-ASDATE-+-(-+-assigned_date-+-)-' '-DATE---' >--+----------------------------------+-------------------------> | .-current_time--. | '-+-ASTIME-+-(-+-assigned_time-+-)-' '-TIME---' >--+------------------------+-----------------------------------> | .-medinf-. | '-CAPACITY(-+-nn-mb--+-)-' >--+--------------------------------+---------------------------> | .-1-----------------. | '-COUNT(-+-number_of_volumes-+-)-' >--+----------------------------+--+----------------------+-----> | .-current_date-. | '-CRSYSID(-rmm_sysID-)-' '-CRDATE(-+-create_date--+-)-' >--+----------------------------+--+---------------------+------> | .-current_time-. | '-DENSITY(-+-*----+-)-' '-CRTIME(-+-create_time--+-)-' +-1600-+ +-3480-+ '-6250-' >--+-------------------+--+-------------------------------+-----> '-DESCRIPTION(text)-' '-ERROR(-| ERROR parameters |-)-' >--+---------------------+--+-------------------------+---------> | .-N-. | | .-L-. | '-INITIALIZE(-+-Y-+-)-' '-KEYENCODE1--(--+-H-+--)-' >--+-------------------------+--+---------------------------+---> | .-L-. | '-KEYLABEL1(keylabel1_name)-' '-KEYENCODE2--(--+-H-+--)-' >--+---------------------------+--+-----------------+-----------> '-KEYLABEL2(keylabel2_name)-' | .-SL-. | '-LABEL(-+-NL-+-)-' '-AL-' >--+---------------------------------------------+--------------> | .-SHELF----------------. (1) | '-LOCATION-(--+-library_name---------+--)-----' '-LOCDEF_location_name-' >--+----------------------------------+-------------------------> | .-parmlib_default-. | '-MEDIANAME(-+-medianame-------+-)-' >--+---------------------------------------+--------------------> | .-*----------------. (1) | '-MEDIATYPE(-+-CST--------------+-)-----' +-ECCST------------+ +-EHPCT------------+ +-HPCT-------------+ +-+-MEDIA5-+-------+ | '-ETC----' | +-+-MEDIA6-+-------+ | '-EWTC---' | +-+-MEDIA7-+-------+ | '-EETC---' | +-+-MEDIA8-+-------+ | '-EEWTC--' | +-+-MEDIA9-+-------+ | '-EXTC---' | +-+-MEDIA10-+------+ | '-EXWTC---' | +-+-MEDIA11-+------+ | '-EATC----' | +-+-MEDIA12-+------+ | '-EAWTC---' | +-+-MEDIA13-+------+ | '-EAETC---' | '-medinf_mediatype-' .-NOWORM-. >--+---------------------------+--+--------+--------------------> | .-IBM---------. | '-WORM---' '-MEDINF(-+-medinf_name-+-)-' >--+------------------------+-----------------------------------> | .-0-----. | '-OPENCOUNT(-+-count-+-)-' >--+--------------------------------+---------------------------> '-ORIGINALEXPDT(expiration_date)-' >--+------------------------+--+-------------------+------------> | .-0-------. | +-POOL(pool_prefix)-+ '-PERCENT(-+-percent-+-)-' '-RACK(rack_number)-' >--+---------------------------------------------------+--------> | .-*----------------------. (1) | '-RECORDINGFORMAT(-+-18TRACK----------------+-)-----' +-36TRACK----------------+ +-128TRACK---------------+ +-256TRACK---------------+ +-384TRACK---------------+ +-EFMT1------------------+ +-EFMT2------------------+ +-EEFMT2-----------------+ +-EFMT3------------------+ +-EEFMT3-----------------+ +-EFMT4------------------+ +-EEFMT4-----------------+ '-medinf_recordingformat-' >--+---------------------------------------+--------------------> | .-NONE-----. (1) | '-SPECIALATTRIBUTES(-+-RDCOMPAT-+-)-----' (1) >--+-STORAGEGROUP-+-(storage_group_name)------------------------> '-STORGRP------' >--+--------------------------------+---------------------------> | .-location_dependent-. | '-TYPE(-+-LOGICAL------------+-)-' +-PHYSICAL-----------+ '-STACKED------------' >--+-----------------------+--+---------------------+-----------> '-TZ({+|-}HH[:MM[:SS]])-' | .-+---+----. | | | '-,-' | | | V .-MVS--. | | '-USE(---+-IRMM-+-+-)-' '-VM---' >--+---------------------+--+------------------+----------------> '-VENDOR(vendor_name)-' | .-0-----. | '-WMC(-+-count-+-)-' >--+------------------------------------------+---------------->< '-WORLDWIDEID--(--world_wide_identifier--)-' ERROR parameters |--+-------------------+--+--------------------+----------------| | .-0-----. | | .-0-----. | '-READ(-+-count-+-)-' '-WRITE(-+-count-+-)-'
ADDVOLUME Non-scratch Volume Optional Operands
>>-+----------------------+--+----------------------------+-----> | .-NONE---. | | .-*----. (1) | '-ACCESS(-+--------+-)-' '-COMPACTION(-+-NONE-+-)-----' +-READ---+ +-IDRC-+ '-UPDATE-' '-YES--' >--+------------------------------+-----------------------------> '-CURRENTLABELVERSION(-+-1-+-)-' +-3-+ '-4-' >--+-------------------------------+----------------------------> | (1) | '-CONTAINER(container_name)-----' .-RETPD(parmlib_default)-----. >--+-----------------------+--+----------------------------+----> '-DSNAME(data_set_name)-' | (1) | '-EXPDT(expiration_date)-----' >--+----------------------+--+-------------------+--------------> '-FEATCD(feature_code)-' '-JOBNAME(job_name)-' >--+----------------+--+------------------------+---------------> '-LEVEL(version)-' '-LOANLOC(loan_location)-' >--+------------------------+-----------------------------------> '-NUMBER(product_number)-' >--+--------------------------------+---------------------------> | .-command_issuer_ID-. | '-OWNER(-+-owner-------------+-)-' >--+---------------------------+--------------------------------> | .-ALTER--. | '-OWNERACCESS(-+--------+-)-' +-READ---+ '-UPDATE-' >--+--------------------------+---------------------------------> '-PREVVOL(previous_volser)-' >--+------------------------------+-----------------------------> | (1) | '-READDATE(last_read_date)-----' >--+---------------------------------------------+--------------> | .-+---+------. | | | '-,-' | | | .-SCRATCH-. V | | '-RELEASEACTION(-+---------+---+--------+-+-)-' +-REPLACE-+ +-INIT---+ '-RETURN--' +-ERASE--+ '-NOTIFY-' >--+-------------------------------+----------------------------> | .-0-. | '-REQUIREDLABELVERSION(-+-3-+-)-' '-4-' >--+---------------------------------+--------------------------> | .-parmlib_default-. | '-RETAINBY(-+-FIRSTFILE-------+-)-' +-SET-------------+ '-VOLUME----------' >--+----------------------------------------+-------------------> | .-parmlib_default-. | '-RETENTIONMETHOD(-+-EXPDT-----------+-)-' '-VRSEL-----------' >--+--------------------------+---------------------------------> '-SECLEVEL(security_class)-' >--+------------------------------+--+------------------+-------> | .-+---+-------. | | (3) | | | '-,-' | | '-VOL1(volser)-----' | V | (2) | '-USERS(-----user_ID---+-)-----' >--+--------------------------------+-------------------------->< | (1) | '-WRITEDATE(last_write_date)-----'
The default is NONE. This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
If you do not use ACCOUNT, DFSMSrmm obtains the information when it records information about the first data set on the volume. At that time, DFSMSrmm gets the accounting information from either the account number of the job or job step that creates the first data set, or from the account number of the job that reads the data set.
There is no default.
The default is the date you issue the ADDVOLUME subcommand.
Specifies the time the volume was assigned to a user
For example, nine o'clock in the morning is 090000.
The default is the time when you issue the ADDVOLUME subcommand.
Specify a value between 0 and 4294967295.
This operand is ignored if you use STATUS(SCRATCH). If you use STATUS(VOLCAT), the value you specify is overridden by information in the TCDB.
The default is *.
When you specify a container_name, DFSMSrmm sets the default volume type for the volume as TYPE(LOGICAL). If the volume type is TYPE(PHYSICAL), you must change the volume type to TYPE(LOGICAL) before volume import processing can start.
There is no default.
The default is 1.
The default is the date you issue the ADDVOLUME subcommand.
CRDATE can be abbreviated as DATE.
The default value is the DFSMSrmm OPTION SYSID value.
CRSYSID can be abbreviated as SYSID.
For example, nine o'clock in the morning is 090000.
You can specify a time in the range between 000000 to 235959.
The default is the time when you issue the ADDVOLUME subcommand.
CRTIME can be abbreviated as TIME.
There is no default.
There is no default.
The default is blanks.
This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
There is no default.
When you add a volume, the error counts are initially set to zero.
When you specify the expiration date for a volume that is a part of a multivolume set managed by the EXPDT retention method retained by SET, DFSMSrmm updates the expiration date and time for all the volumes of the multivolume set. If you try to specify the expiration date for a volume managed by the EXPDT retention method retained by FIRSTFILE, the command will be rejected. The expiration date of the volume will be set to the expiration date of the first data set record on a single volume or on a volume set
When you specify the expiration date for a data set record representing one part of a multivolume data set on volumes managed by the EXPDT retention method, DFSMSrmm updates the expiration date and time for all the data set records for the data set. When you do not specify an expiration date, DFSMSrmm copies the expiration from the preceding data set record in the multivolume data set chain.
To use the dates 99365 and 99366, which mean permanent retention, you must specify the MAXRETPD NOLIMIT operand in the DFSMSrmm EDGRMMxx parmlib member.
EXPDT is mutually exclusive with RETPD.
This operand is ignored if you use STATUS(SCRATCH). If you use STATUS(VOLCAT), the value you specify is overridden by information in the TCDB.
If you do not specify EXPDT or RETPD, DFSMSrmm uses the default retention defined in the RETPD operand of the DFSMSrmm EDGRMM xx parmlib member.
There is no default.
DFSMSrmm accepts INIT as an abbreviation.
If you request initialization for a scratch volume, and the initialize action is still pending when you enter the volume into an automated tape library, DFSMSrmm defers initialization to DFSMSdfp labeling support. If the volume is later ejected without being initialized, DFSMSrmm reinstates the initialize action.
The default is N.
This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
There is no default.
When KEYLABEL1 is specified, the default value is L.
When KEYLABEL2 is specified, the default value is L.
When a volume is rewritten in a non-encryption format, DFSMSrmm does not clear the encryption key label related fields. Instead, the fields continue to be displayed until the volume is reused from scratch, or a release action causes them to be cleared.
When you specify this optional operand, you can also specify a value for the key encoding mechanism using the KEYENCODE1 operand.
When a volume is rewritten in a non-encryption format, DFSMSrmm does not clear the encryption key label related fields. Instead, the fields continue to be displayed until the volume is reused from scratch, or a release action causes them to be cleared.
When you specify this optional operand, you can also specify a value for the key encoding mechanism using the KEYENCODE2 operand.
SL is the default.
Use the LISTVOLUME subcommand to obtain label information for a volume. DFSMSrmm automatically records label type when a data set on the volume is opened. See LISTVOLUME: Displaying information about a volume for more information.
The default value is V01R01M00, Version 1, Release 1, Modification 0, when NUMBER is specified. This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
There is no default.
DFSMSrmm validates this library name by ensuring that the library has been defined in the TCDB. If the library is a manual tape library, DFSMSrmm adds the volume to the TCDB; if the library is an automated tape library and the volume is not currently resident in that library, DFSMSrmm sets the volume move in progress to get the volume moved to the automated tape library. DFSMSrmm does not add the volume to the TCDB since the system does this when the volume enters the automated tape library. You can specify a distributed library name only if the library is an IBM Virtualization Engine.
If you use STATUS(VOLCAT), the value you specify is overridden by information in the TCDB.
When you use a shelf-managed storage location as a home location, DFSMSrmm sets the required location to the specified location. DFSMSrmm sets the current location to SHELF and enables the next inventory management DSTORE run to assign an available bin number.
The default is SHELF.
You can use any name for a MEDIANAME because DFSMSrmm does not check that the media name is a device type that has been defined to z/OS®. Use MEDIANAME to identify different types of physical shelf space for different media or to distinguish different media characteristics such as cartridge tape and enhanced capacity cartridge system tape.
The default MEDIANAME is the value you define with the EDGRMMxx parmlib OPTION MEDIANAME operand. For more information on how to set this value, see z/OS DFSMSrmm Implementation and Customization Guide
You must specify the MEDIATYPE operand when you are adding volumes that reside in a manual tape library.
If you use STATUS(VOLCAT), the value you specify is overridden by information in the TCDB.
See Table 2 for information about how DFSMSrmm assigns MEDIATYPE and RECORDINGFORMAT.
The default value is *.
Default: IBM.
Use the WORM operand to set the WORM attribute.
NOWORM is the default value.
This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
There is no default.
When you add a volume, the open count is initially set to zero.
The value range is 0 to 65535.
There is no default.
ORIGINALEXPDT can be abbreviated as OEXPDT.
This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
The default is the user ID of the command issuer.
When the RACF TAPEVOL class is active, and TPRACF(P) or TPRACF(A) is in effect, DFSMSrmm uses the OWNERACCESS information to build the RACF TAPEVOL access list. OWNERACCESS can be used together with OWNER to define the initial RACF TAPEVOL volume profile access, specifying the type of access the volume owner has to a volume.
ALTER is the default value.
This operand is ignored for scratch volumes.
For more information, refer to the topic Maintaining the User Access List in z/OS DFSMSrmm Implementation and Customization Guide.
When you add a volume, the percent full is initially set to zero.
Pool prefixes are defined by your installation. You can view information about your pools by using the LISTCONTROL subcommand with the VLPOOL operand. See LISTCONTROL: Displaying parmlib options and control information for more information.
If you do not supply either a pool prefix or a rack number, DFSMSrmm assigns the volume a rack number as described in Table 1. Do not use a pool prefix if you are adding the volume to an automated tape library, because the external volume serial number must match the internal volume serial number in an automated tape library. You cannot specify POOL when TYPE(LOGICAL) is specified. POOL cannot be used with RACK.
Restriction: You must add the volumes in a multivolume data set in their correct sequence. You must add the first volume of a multivolume data set before you can add the rest of the volumes in their correct sequence.
PREVVOL is mutually exclusive with RETENTIONMETHOD and RETAINBY.
There is no default.
If you do not supply a pool prefix or a rack number, DFSMSrmm assigns the volume a rack number as described in Table 1. RACK cannot be used with POOL. RACK cannot be specified when TYPE(LOGICAL) is specified.
There is no default.
This operand is ignored if you use STATUS(SCRATCH). If you use STATUS(VOLCAT), DFSMSrmm overrides the value you specify with information from the TCDB.
Recommendation: Specify the known recording format for system-managed, non-scratch volumes. If you use an incorrect value, the volume can be mounted on a tape drive that can neither read nor write to the volume. If you do not specify a value, DFSMSrmm sets a default value that is valid for the media type you specify.
If you use STATUS(VOLCAT), the value you specify is overridden by information in the TCDB. For scratch volumes, DFSMSrmm lets the system set this value when the volume is first used.
See Table 2 for information about how DFSMSrmm assigns MEDIATYPE and RECORDINGFORMAT.
The default value is *.
The default is SCRATCH.
RELEASEACTION(SCRATCH,INIT,NOTIFY)
This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
The default is 0.
Additional data sets added later to a volume or to a multivolume set can have different expiration dates that are independent of the volume expiration date.
Specify this operand for the first volume in a multivolume sequence. All other volumes added to the set will assume the same RETAINBY value.
Default: If RETAINBY is omitted, the RETENTIONMETHOD(EXPDT(RETAINBY(value)) specified in parmlib is used.
Once a retention method is defined for a non-scratch volume, it is not overridden to the system-wide default during OPEN output processing, but can be changed by installation exit EDG_EXIT100. Volumes in a set always assume the retention method of the first volume in the set.
Specify EXPDT to set the retention method for a tape volume set to be based on EXPDT. Data sets and volumes managed by this retention method are never processed by VRSEL inventory management. If the retention method is changed from VRSEL to EXPDT, then the RETAINBY field is set from the AV command, if specified, or from the parmlib. The expiration date of the volume or multivolume set is updated according to the RETAINBY value.
Specify VRSEL to set the retention method for a tape volume set to be VRSEL. This option enables DFSMSrmm inventory management to attempt to match data sets and volumes to vital record specifications, and if a match is found, to determine if the data set or volumes are to retained by VRS.
See Retention methods for considerations for selecting a retention method.
RETENTIONMETHOD is mutually exclusive with PREVVOL. RETENTIONMETHOD is ignored if used with STATUS(SCRATCH) or STATUS(VOLCAT).
RETENTIONMETHOD can be abbreviated as RM.
Default: If RETENTIONMETHOD is omitted, the retention method specified in parmlib is used.
When you specify the retention period for a volume that is a part of a multivolume set managed by the EXPDT retention method and retained by SET, DFSMSrmm updates the expiration date for all the volumes of the multivolume set.
When you specify the retention period for a volume managed by the EXPDT retention method and retained by FIRSTFILE, the specified retention period will be ignored. The retention period of the volume will be set to the retention period of the first data set record on a single volume or on a volume set.
When you do not specify a retention period, DFSMSrmm copies the retention period from the preceding data set record in the multivolume data set chain.
RETPD is mutually exclusive with EXPDT.
If you do not specify RETPD or EXPDT, DFSMSrmm uses the default retention period from the parmlib member EDGRMMxx.
You can use the LISTCONTROL subcommand with the SECCLS operand to display the security classes defined for your location. See LISTCONTROL: Displaying parmlib options and control information for more information.
This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
There is no default.
For example, a volume recorded at 18TRACK can be read by a device that writes at 36TRACK and also has the ability to read 18TRACK tape volumes.
If you use STATUS(VOLCAT), the value you specify is overridden by information in the TCDB.
There is no default.
For volumes in a system-managed library, DFSMSrmm uses the current location or the location specified on the command to validate the specified storage group. For volumes with a system-managed home location defined, DFSMSrmm uses the home location for validation. For other volumes, any value you specify is accepted as long as the value is valid in the current SMS configuration.
You can set the storage group even if the TCDB already contains a storage group name.
A storage group name can be assigned to any volume, even a scratch volume. The storage group name can be used for scratch pooling, except when the volume is in a system-managed automated tape library. For system-managed scratch volumes, the storage group name is not maintained in the TCDB because it is not supported by SMS tape processing.
For system-managed manual tape library volumes, the storage group name is used for scratch pool validation only when you request that a specific storage group name is used for pooling. For all non-system managed scratch pooling validation, the storage group name is significant and is always used to ensure that a volume from the correct pool is mounted.
When you do not specify a storage group name, DFSMSrmm assigns a storage group name by using the matching EDGRMMxx VLPOOL NAME value. If the VLPOOL NAME value is a valid storage group name, DFSMSrmm uses the VLPOOL NAME value as the default value for volumes added to the pool.
If you use STATUS(VOLCAT), the value you specify is overridden by information in the TCDB. It is ignored if the volume is already defined in a TCDB with a different storage group name.
TYPE(PHYSICAL) can be used for volumes that do not reside in a VTS. Non system- managed virtual tape libraries can use either TYPE(PHYSICAL) or TYPE(LOGICAL). However, TYPE(LOGICAL) and TYPE(STACKED) cannot be specified for volumes in a system-managed tape library that is not a VTS. which includes a non-IBM VTS that is being managed as a manual tape library.
An optional colon (:) separates hours from optional minutes and optional seconds.
You can specify a time in the range between 00:00:00 to 15:00:00 for HH:MM:SS. MM and SS value range is 00 to 59.
This operand is ignored if you use STATUS(SCRATCH) or STATUS(VOLCAT).
There is no default.
There is no default.
volser is required and must follow the ADDVOLUME subcommand.
There is no default.
When you add a volume, the write mount count is initially set to zero.
For WORM volumes mounted and processed under DFSMSrmm control on z/OS, the WMC value is obtained from the tape drive and can then no longer be changed by commands.
The value range is 0 to 65535.
WORLDWIDEID can be abbreviated as WWID.
The WWID is maintained and displayed as a hexadecimal value and is displayed using 24 characters.
In some publications, the world-wide unique cartridge identifier (WWCID) may also be referred to as the world-wide identifier (WORLDWIDEID or WWID).
There is no default.
Do not use the DFSMSrmm subcommands to set or change the WWID value. Instead, add volumes as you normally would do, and DFSMSrmm records the value when the volume is first used. Subsequent use of the volume causes DFSMSrmm to ensure that the recorded WWID and the WWID obtained from the mounted volume both match. If the values do not match, the volume is rejected. Once the WWID is set by command or recorded by DFSMSrmm when the volume was used while mounted, you cannot change the value in the DFSMSrmm control data set. If the WWID is incorrect in DFSMSrmm, your choice is to either delete and then re-add the volume, or to use RMM REPLACE processing. If DFSMSrmm already has data set details for the volume, keep a record of these so they can be added back by using the DFSMSrmm subcommands.
You cannot specify this operand for a WORM volume recorded automatically by DFSMSrmm during open processing.
NOWORM is the default value.
There is no default.
This operand is ignored if you use STATUS(SCRATCH). If you use STATUS(VOLCAT), the value you specify is overridden by information in the TCDB.
RMM ADDVOLUME B12345 COUNT(1) STATUS(MASTER) MEDIANAME(3480) -
OWNER(RMMUSER) VOL1(A01234)
RMM ADDVOLUME S00000 COUNT(1000) STATUS(SCRATCH) INIT(Y)
RMM ADDVOLUME 8E1U01 DENSITY(3480) OWNER(GOHRB) -
STATUS(USER) USE(MVS) POOL(U*) MEDIANAME(3480) MEDIATYPE(CST)
RMM ADDVOLUME 8E1U01 DENSITY(3480) OWNER(GOHRB) -
STATUS(USER) MEDIANAME(3480) POOL(U*) MEDIATYPE(CST)
RMM ADDVOLUME A00000 COUNT(1000) LOCATION(LIB1) STATUS(SCRATCH) -
MEDIATYPE(CST)
RMM ADDVOLUME SM0000 COUNT(500) STATUS(VOLCAT)
RMM ADDVOLUME MW0001 STATUS(SCRATCH) VENDOR('batch 33') WORM
See DFSMSrmm return codes and reason codes for DFSMSrmm reason codes.