SETOAM keyword definitions for global level

ALLOCRETRYMINUTES(minutes)
An optional parameter that specifies the time, in minutes, that OAM retries dynamic allocation of a tape drive that failed because all online tape devices are allocated before issuing message CBR6400D.

If the Automated Tape Allocation Manager (ATAM) is in use, you might want to reduce the time that OAM makes retry attempts or to bypass retry processing entirely and issue CBR6400D immediately, so ATAM can start allocating a tape drive without having to wait for OAM retry processing. By automatically responding to allocation requests, ATAM reduces the need for operator intervention and enables more efficient use of tape drives. See IBM Tivoli Automated Tape Allocation Manager for z/OS User's Guide, SC23-9736, for more information on ATAM.

Valid values for minutes are 0, 1, 2, 3, 4, and 5. A value of 0 means no retry will be attempted and CBR6400D will be issued immediately. The default value is 5.

Note: This is a global specification only and cannot be specified at the storage group level.
DATACLASS(name)
An optional parameter that specifies the SMS data class to be used for Object and Object Backup storage groups that do not have their own DATACLASS specification on the STORAGEGROUP subparameter of the SETOAM statement. If you specify DATACLASS at the OAM global level, but not at the storage group level, this specification of DATACLASS applies to each of the storage groups with a corresponding SETOAM statement which do not explicitly specify a DATACLASS. Using the DATACLASS keyword on the SETOAM statement at the global level allows the installation to affect Tape Device Selection Information, and volume expiration date for those Object or Object Backup storage groups which do not have an explicit DATACLASS keyword in their STORAGEGROUP subparameter list. (See the discussion in Understanding the data class construct for details on TDSI.) There is no global level OAM default DATACLASS.

In an IBM tape library environment, specify the SETOAM DATACLASS parameter using a data class to request the desired media type or recording technology. To request tape data encryption in the tape library environment and in the stand-alone environment, use DATACLASS to request an encryption recording format; you can also specify the encryption key labels and encoding mechanisms using data class. In addition, you can specify DATACLASS to take advantage of performance scaling or performance segmentation in an IBM tape library environment and also in the stand-alone environment. Use the performance options in the data class to improve the random retrieval rate of primary objects in Object storage groups. For objects written to Object Backup storage groups, you can specify a data class that does not specify performance scaling, then you can use the full capacity of the volume.

Note: Tape data encryption is supported on the 3592, starting with the 3592 Model E05. Performance scaling and performance segmentation is supported on all the 3592 models, starting with the 3592 Model J1A.

Recommendation: Do not allow ACS routines to assign or change the data class assignment of an OAM tape volume. The data class for OAM tape volumes is determined by the SETOAM statement of the CBROAMxx PARMLIB member at MVS scratch tape allocation. The SETOAM statement provides this information at the storage group level or at the OAM global level, and it best suits the requirements for the tape volume that is being allocated. Allowing ACS routines to alter this specification could create unexpected consequences (for example, no compaction of the data when the SETOAM statement specified compaction). It is your installation's responsibility to write the ACS routines so as to not alter the data class construct for OAM tape volumes.

DEMOUNTWAITTIME(seconds)
An optional parameter that specifies the time, in seconds, that OAM waits before demounting and deallocating a tape drive that OAM is currently not using. For seconds, specify a decimal number between 1 and 9999. When the time interval expires, OAM rewinds and unloads the currently mounted tape cartridge and demounts and deallocates the device. The default for this optional parameter is 120 seconds.
Some circumstances might affect how this parameter is enforced:
  • If a new tape drive allocation request comes in and OAM has already used the maximum number of tape drives (MAXTAPERETRIEVETASKS + MAXTAPESTORETASKS), OAM ignores the DEMOUNTWAITTIME and deallocates this drive in order to allocate another.
  • If OAM is canceled, a DEMOUNT occurs, and DEMOUNTWAITTIME is ignored.
  • If a request to vary the drive offline is sent while the DEMOUNTWAITTIME is in effect for that drive in an OAM session, the drive cannot vary offline until the specified DEMOUNTWAITTIME elapses.
  • If OAM finishes reading and writing to a tape before the DEMOUNTWAITTIME elapses, a demount, unload, rewind, or release of the allocated drive cannot take place until the specified DEMOUNTWAITTIME is complete.
DSNWITHSGNAME
An optional parameter that specifies that the object storage group name is to be appended to the OAM tape data set names (OAM.PRIMARY.DATA, OAM.BACKUP.DATA, OAM.BACKUP2.DATA). For example, if OAM receives a store request for a new object for storage group GROUP55, GROUP55 is appended as the low-level qualifier to the OAM.PRIMARY.DATA data set name: OAM.PRIMARY.DATA.GROUP55. The tape management system can parse the data set low-level qualifier (storage group) to determine from which pool a scratch volume should be selected for a mount request in the stand-alone (non system-managed tape) environment. By associating object storage group names with tape management scratch pools, specific media type volumes can be assigned to specific pool names and segregated, and thus, preventing a WORM volume request from being used for a rewritable volume request and vice versa.

Once DSNWITHSGNAME is specified, all new OAM object tape data set names for all tape storage groups will have the storage group appended; however, the data sets written in the original data set name format can be retrieved and if the tape is not filled, new objects will be written on these tapes until filled.

Note: The data set name format for each tape volume is tracked in the TAPEVOL table in the DSNFMT column. If the tape volume has a DSNFMT value of blank, then the data set name written on the volume is the original data set name format with no storage group name low-level qualifier or has no current OAM data set written on the tape. If a tape volume has a DSNFMT value of "G" for group, then the data set name written on the volume has the storage group name appended.
L2DATACLASS(name)
An optional parameter that specifies the SMS data class to be used, when storing objects to tape sublevel 2 for Object storage groups that do not have their own L2DATACLASS specification on the STORAGEGROUP subparameter of the SETOAM statement. Tape sublevel is associated with the OAM sublevel parameter specified in the SMS storage class construct. If you specify L2DATACLASS at the OAM global level, this specification of L2DATACLASS applies to each of the Object storage groups that do not explicitly specify an L2DATACLASS. Using the L2DATACLASS keyword on the SETOAM statement at the global level allows the installation to modify Tape Device Selection Information and volume expiration date for those Object storage groups that do not have an explicit L2DATACLASS keyword in their STORAGEGROUP subparameter list. There is no global level OAM default L2DATACLASS.
Note: L2DATACLASS does not apply to Object Backup storage groups.
In an IBM tape library environment, specify the SETOAM L2DATACLASS parameter using a data class to request the desired media type or recording technology. To request tape data encryption in the tape library environment and in the stand-alone environment, use L2DATACLASS to request an encryption recording format; you can also specify the encryption key labels and encoding mechanisms using data class. In addition, you can specify L2DATACLASS to take advantage of performance scaling or performance segmentation in an IBM tape library environment and also in the stand-alone environment. Use the performance options in the data class to improve the random retrieval rate of primary objects in Object storage groups. For objects written to Object Backup storage groups, you can specify a data class that does not specify performance scaling, then you can use the full capacity of the volume.
Note: Tape data encryption is supported on the 3592, starting with the 3592 Model E05. Performance scaling and performance segmentation is supported on all the 3592 models, starting with the 3592 Model J1A.

Recommendation: Do not allow ACS routines to assign or change the data class assignment of an OAM tape volume. The data class for OAM tape volumes is determined by the SETOAM statement of the CBROAMxx PARMLIB member at MVS scratch tape allocation. The SETOAM statement provides this information at the storage group level or at the OAM global level, and it best suits the requirements for the tape volume that is being allocated. Allowing ACS routines to alter this specification can create unexpected consequences (for example, no compaction of the data when the SETOAM statement specifies compaction). It is your installation responsibility to write the ACS routines so as to not alter the data class construct for OAM tape volumes.

MAXRECYCLETASKS(nn)
Can be specified at the global level. The nn is the maximum number of MOVEVOL tasks that can be run concurrently by the RECYCLE function. Valid values for nn are 0 - 15. The default is 1 if no value is specified. A value of 0 indicates that no RECYCLE operations can be run at the storage group or global level.
MAXTAPERETRIEVETASKS(tasks)
An optional parameter that specifies the maximum number of tasks within the OAM address space that can concurrently read objects from tape. This parameter controls the maximum number of tape drives that can be concurrently allocated to the OAM address space for reading object data from tape. This parameter allocates tape drives for processing the following requests:
  • OSREQ RETRIEVE requests, where the primary copy of the object being retrieved is stored on tape.
  • OSREQ RETRIEVE requests, where VIEW=BACKUP or VIEW=BACKUP2 and the backup copy is on tape.
  • Requests to read the primary copy of an object from tape during the OSMC storage management cycle.
  • Requests to read a backup copy or the primary copy of an object from tape during the execution of the OSMC optical volume recovery utility.
  • Single object recovery.
  • OSREQ retrieve requests where the primary copy is on optical, but volume is not readable, access to backup is activated and the backup copy is on tape.

If one or more OAM applications are retrieving objects from multiple Object storage groups, and the primary copies of the objects are being retrieved from tape volumes, the number or tasks specified with this parameter should be greater than or equal to the maximum number of Object storage groups being read from concurrently. This parameter eliminates the need to constantly mount and demount tapes belonging to different Object storage groups to satisfy OSREQ RETRIEVE requests.

The default is 1, which allows at least one task to be attached for processing read requests from tape volumes. This default allows groups previously writing objects to tape, but no longer having an explicit SETOAM statement in the CBROAMxx member, to be able to retrieve their previously written objects if a CBROAMxx PARMLIB member was successfully processed during OAM initialization. A CBROAMxx PARMLIB member must be successfully processed during OAM initialization for OAM object tape storage to be active on the system.

MAXTAPESTORETASKS(tasks)
An optional parameter that specifies the maximum number of tape drives used for writing objects to tape volumes. Use this parameter to process the following:
  • OSREQ STORE requests where the primary copy of the object is to be stored on tape.
  • OSMC class transition processing where the primary copy of the object is to be stored on tape.
  • Writing of backup copies of objects during the OSMC storage management cycle.
  • Single object recovery.
  • Producing backup copies if backups are directed to tape.
  • MOVEVOL for backup copies if objects are directed to tape.

This parameter and the MAXTAPERETRIEVETASKS parameter control the maximum number of tape drives that can be concurrently allocated to the OAM address space. For tasks, specify a decimal number between 1 and 100. The number specified for tasks with the MAXTAPESTORETASKS parameter should be greater than the number of Object storage groups that OAM applications are using for storing objects to tape volumes. If the number is less than the number of Object storage groups for the OAM applications, OAM will be frequently mounting and demounting tape volumes belonging to different Object storage groups to satisfy OSREQ STORE requests. Also, if objects are being written to the Object Backup storage group during the storage management cycle for multiple storage groups, and the backup copies are being written to tape volumes, then the number of tasks specified with this parameter should encompass this activity. Specify the maximum number of concurrent storage groups by using MAXS= in the PARM field on the JCL EXEC statement in the OAM cataloged procedure. If the MAXTAPESTORETASKS parameter is not specified on any SETOAM statement, OAM sets the default to 1.

Guideline: You should verify that there are enough tape drives (specified in the TAPEUNITNAME keyword) available to handle the values assigned to the MAXTAPESTORETASKS and MAXTAPERETRIEVETASKS parameters of the SETOAM statement. How the drives are spread among the Object storage groups or the Object Backup storage group depends on the values assigned to the MAXTAPESTORETASKS, MAXTAPERETRIEVETASKS, TAPEDRIVESTARTUP, and the TAPEUNITNAME parameters for each Object and the Object Backup storage group. OAM drive allocations can exceed the value of MAXTAPERETRIEVETASKS (up to the total value of MAXTAPERETRIEVETASKS and MAXTAPESTORETASKS) due to DEMOUNTWAITTIME, even if no STOREs are being done. If there are not enough tape drives, and the recovery logic for allocation is not able to obtain a tape drive for this request, then the request fails. (See the discussion on page TAPEDRIVESTARTUP(threshold in megabytes) for details on TAPEDRIVESTARTUP.)

MOUNTWAITTIME(minutes)
An optional parameter that specifies the time, in minutes, that OAM waits for a tape volume to be mounted. For minutes, specify a decimal number between 1 and 120. When this interval expires, OAM issues message CBR6405D to the operator asking if the tape volume can be mounted. If the response is "Y", OAM resets the timer for another minutes interval. If the next interval expires and the tape volume is still not mounted, the same message is sent to the operator. If the reply is "C" and the mount was for tape that was to be read, OAM ends the task, fails the request to retrieve the object, and the volume is marked as "lost". If the operator replies "C" to this message and the mount was for a tape volume that was the target of a nonspecific (grouped) write request, a message is issued, and the volume is marked "lost" in the OAM internal control blocks, and the write request is retried on another volume. This processing applies to stand-alone, automated tape library dataservers, and manual tape libraries. If you do not specify this parameter on any SETOAM statement, the OAM default is five minutes. If this is a mount for an MVS scratch tape, and retry is attempted, the request fails.

Recommendation: Issue the F OAM,DISPLAY,LOSTVOL command to determine the volume serial number of each lost volume, both tape and optical. See Displaying volumes that have LOSTFLAG set for further information on this command.

OAMSCRATCHSYNCH(mode)
An optional parameter that specifies how OAM manages tape volumes that were introduced into the OAM inventory before z/OS V1R5 and are now being returned to OAM scratch status. For such tape volumes, the original unit name (OUNITNAM) and data class (DATACLAS) fields in the TAPEVOL table are blank. OAM needs to use the values stored in these fields during subsequent allocation of OAM scratch volumes. As a result, these tape volumes are not eligible for reuse when they are returned to OAM scratch status.

OAMSCRATCHSYNCH can be used to make such volumes eligible for reuse by enabling OAM to synchronize their OUNITNAM and DATACLAS fields with the UNITNAME and DATACLASS values associated with the storage group for the volume before it was returned to scratch.

Specify this parameter at the global level only.

Specify mode as either DISABLED or ENABLED:

DISABLED
OAM does not check for blank DATACLAS and OUNITNAM fields in the TAPEVOL table and does not alter those fields. OAM also does not modify the UNITNAME field in the TAPEVOL table that is associated with this tape volume. If you omit the OAMSCRATCHSYNCH parameter, DISABLED is the default.
ENABLED
OAM synchronizes blank DATACLAS and OUNITNAM fields in the TAPEVOL table that is associated with a tape volume that is being returned to OAM scratch status, as follows:
  • If the DATACLAS field is blank, OAM sets DATACLAS to the same value as the DATACLASS that was associated with the storage group for the volume before it was returned to scratch. If the OUNITNAM field is blank and the value in UNITNAME is a generic device, OUNITNAM and UNITNAME are both set to the same value as the UNITNAME that is associated with the storage group for the volume. (Generic devices include the 3480, 3480x, 3490, or 3590-1.)
  • If OUNITNAM is blank and the value in UNITNAME is an esoteric device name, both OUNITNAM and UNITNAME remain unchanged.
PERCENTVALID(nnn)
You can only specify this keyword at the global (all storage groups) level. nnn represents the global default percentage of valid data threshold that is used to determine whether a full tape volume is a candidate for RECYCLE processing. This SETOAM value is used only if the optional PV= keyword is not specified on the RECYCLE command. The PERCENTVALID value that is specified on the RECYCLE command takes precedence over the PERCENTVALID value in the SETOAM statement. Valid values for nnn are 0 - 100. The default is 0 if no value is specified.
STORAGEGROUP(name)
An optional parameter that specifies tape related parameters for a specific Object or Object Backup storage group which is in the active configuration, and which was previously defined using the ISMF storage group application. This parameter on the SETOAM statement provides additional information beyond what was specified using ISMF for the Object or Object Backup storage group to which it pertains. At times, the information overrides what was specified using ISMF. For example, if the Object Backup storage groups has a valid SETOAM statement, the backup copies of objects are written on tape regardless of the optical disk libraries supplied in the ISMF definition of the Object Backup storage group. For name, specify the name of an Object or Object Backup storage group. The parameter listed below applies to the name of the Object or Object Backup storage group that you specify.

This parameter can take a number of subparameters. See SETOAM keyword definitions for STORAGEGROUP subparameters for descriptions of the STORAGEGROUP subparameters.

TAPECAPACITY(unitname kilobytes)
An optional parameter that specifies a unit name with a numeric value in kilobytes from 1 to 2 147 483 646. This parameter allows you to specify a tape capacity for tapes written using a general recording technology, as well as a different capacity for tapes written to drives associated with esoteric unit names. This parameter indicates the tape capacity desired for the three general specifications (CST18, CST36, or ECCST) and esoteric unit name specifications. All esoteric unit name specifications are verified as valid esoteric unit names that are defined to the system. The tape capacity specified on this parameter becomes the value at which OAM considers a tape volume filled.
If this parameter is not specified in the SETOAM statement, the following defaults are used:
  • Standard 18-track recording technology defaults for CST18
  • Standard 36-track recording technology defaults for CST36
  • Enhanced capacity recording technology defaults for ECCST

If you specify the TAPECAPACITY parameter as part of the SETOAM statement, but do not specify CST18, CST36, or ECCST, or do not enter valid generic or esoteric unit names, OAM does not start and issues message CBR0325I.

If you specify a 3480, 3480x, or 3490 unit name on this parameter, OAM accepts it, but considers it to be an esoteric unit name. Generally, the needs of these unit types are covered by the CST18, CST36, or ECCST keywords so they do not normally need to be specified. However, if they are specified, OAM accepts them and ensures that they are valid unit names. If the esoteric unit name used with this parameter matches the tapeunitname subparameter on the SETOAM STORAGEGROUP parameter, OAM uses the tape capacity associated with the tapeunitname subparameter instead of any equivalent CST18, CST36, or ECCST specification for this parameter.

Use this parameter at the OAM global level. However, you can specify a desired tape capacity at the storage group level by specifying an esoteric unit name on the tapeunitname subparameter on the SETOAM STORAGEGROUP parameter with the tapecapacity parameter.

Example: If esoteric TAPE1 is specified on the tapecapacity parameter (such as, TAPECAPACITY(TAPE1 5000000)), when the SETOAM STORAGEGROUP(storagegroupname TAPEUNITNAME(TAPE1) is used on the same SETOAM statement, the storage group uses the tape capacity of 5 000 000.

If the tape capacity value in the Tape Volume Table is different than that specified on the tapecapacity parameter of the SETOAM statement, the value of the SETOAM statement is used for the duration of the OAM session, or until changed or deleted on the SETOAM statement. The Tape Volume Table capacity is not changed after it is initially set during the first time the volume was written to. This is to avoid a changing capacity and a volume fluctuating between full or not full based on a differing capacity. If the capacity in the Tape Volume Table must be changed, you can use SPUFI to dynamically perform this update and OAM will accept it. The free space and percent full calculations for the volume are based on the updated capacity and are recalculated when the volume is written to again as a partial volume, or when OAM is restarted.

Attention: Use caution when you use SPUFI to update fields in the DB2 tables because you might get unexpected results.

Restriction: With the support of the 3590 Model E and later devices, even if the device is in 3490E emulation mode, the capacity of the media is derived from the hardware; therefore, you do not need to specify the SETOAM TAPECAPACITY keyword. Also, specifying this keyword is not valid with a 3590 Model B or a device that emulates a 3590 Model B (3590-1).

TAPEDISPATCHERDELAY(seconds)
An optional parameter that specifies a numeric value of 1 through 60 and can be used at the global level only. This specifies that OAM wait a specified number of seconds before demounting a tape volume, even if other work is available for this drive. This delay allows time for a new read request to come into OAM that requires the currently mounted tape volume. This delay can greatly reduce the number of mounts and demounts of volumes for certain applications. This keyword provides function similar to the OPTICALDISPATCHERDELAY keyword associated with the SETOPT statement in the CBROAMxx PARMLIB member.
The OAM tape dispatcher will delay processing of a unit of work for a specific period of time only when all of the following conditions are met:
  • A nonzero tape dispatcher delay value has been specified with the TAPEDISPATCHERDELAY keyword on the SETOAM statement in the CBROAMxx PARMLIB member.
  • A read request for an object on a currently mounted tape volume has just been completed.
  • There is no request for the currently mounted tape volume waiting to be processed on the OAM tape dispatcher queue.
  • The OAM tape dispatcher has found a request for another tape volume and is about to dispatch this unit of work.

If another read request for the currently mounted tape volume arrives within the delay interval, that unit of work will be dispatched immediately upon arrival. If no read request for the currently mounted volume arrives within the delay interval, another request for a different tape volume is dispatched.

TAPEEXPIRATION(YYYY/DDD)
An optional parameter that specifies the year and date (YYYY/DDD) assigned to the data sets on OAM object tape volumes used for expiration purposes where:
  • YYYY is a four-digit number that specifies a year from 1900 through 2155, and
  • DDD is a three-digit number that specifies a day from 001 through 366.

The TAPEEXPIRATION date overrides the expiration date defined in the DATACLASS parameter for the data sets residing on the tape volume.

If you specify the TAPEEXPIRATION date for the data sets residing on the OAM object tape volume as the current date or a date preceding the current system date, the data sets are considered previously expired and are therefore eligible for immediate replacement. OAM issues the CBR0317I message to allow you to change the TAPEEXPIRATION value in the SETOAM statement in the CBROAMxx PARMLIB member being used if necessary.

Expiration dates of 1999/365 and 1999/366 are considered "never-scratch" dates. Data sets with these expiration dates are not deleted or written over. Check with your tape management system to determine what "never-scratch" date should be specified as the TAPEEXPIRATION date and for other policy-type specifications that are needed in the tape management system to indicate that the tapes and data are being externally managed by OAM. For example, if you are using DFSMSrmm to manage OAM objects on tape, the following vital record specifications, shown in TSO/E format, might be appropriate:
RMM ADDVRS DSNAME('OAM.PRIMARY.DATA') COUNT(99999) LOCATION(HOME)
RMM ADDVRS DSNAME('OAM.BACKUP.DATA') COUNT(99999) LOCATION(HOME)
RMM ADDVRS DSNAME('OAM.BACKUP2.DATA') COUNT(99999) LOCATION(HOME)
RMM ADDVRS DSNAME('OPEN') JOBNAME(oamtaskname) COUNT(99999) LOCATION(HOME
RMM ADDVRS DSNAME('ABEND') JOBNAME(oamtaskname) COUNT(99999) LOCATION(HOME)

The above DSNAME examples are data set names without DSNWITHSGNAME specified in the SETOAM statement. If DSNWITHSGNAME were specified, the storage group name would be appended as the data set name's low level qualifier. The JOBNAME value is the name of the job and started task for the OAM address space that opens the tape data sets.

TAPEFULLTHRESHOLD(kilobytes)
An optional parameter that specifies a numeric value of 0 through 999 999 representing the number of kilobytes of available free space allowed for any volume belonging to any object tape storage group in the configuration. When the number of kilobytes of free space for a tape volume falls below the TAPEFULLTHRESHOLD parameter specified at the OAM global level, the volume is marked full and is not used for any further write requests. The default value for this parameter is zero.

It is important to select a threshold value the allows tape volumes to be marked full in a consistent manner. Consider the size of the objects stored, and if the size of the objects is consistent, select a threshold value that is slightly larger than that size. If volumes are not being selected for new objects and they are not being marked full, increase the value of this parameter.

During OAM initialization, the tape volume full status is checked with the TAPEFULLTHRESHOLD parameter (if specified at the global level) to determine the volume’s free space and the TAPEPERCENTFULL subparameter (if specified at the storage group level) to determine the volume’s percent full status. The volume full status is changed from full to not full if:
  • Free space for the volume is greater than the TAPEFULLTHRESHOLD parameter value and the volume percent full value is less than the TAPEPERCENTFULL subparameter.
The volume full status is changed from not full to full if:
  • Free space for the volume is less than or equal to the TAPEFULLTHRESHOLD parameter value or the volume percent full value is equal to or greater than the TAPEPERCENTFULL subparameter value.
TAPERECYCLEMODE(expiration_mode)
Expired volumes are dispositioned according to the value that you specify with the TAPERECYCLEMODE keyword. Volumes are expired when they are selected by the OSMC Shelf Manager or if they are processed by the MOVEVOL utility with the RECYCLE option.

Restriction: If your tape management system does not allow overwriting tape volumes or data sets by another of the same name, you cannot use the GROUP or OAMSCRATCH option.

GROUP
Leaves the tape volume in the currently assigned Object or Object Backup storage group. OAM writes the CBR2166I message to the console log for each expired tape volume. If you omit the TAPERECYCLEMODE parameter, GROUP is the default.
The following record fields are reset for expired tape volumes in the DB2 TAPEVOL table:
  • Expiration date is reset to 01-01-0001.
  • Full status is set to N.
  • Last block ID is reset to 0.
  • Freespace is set to the volume's capacity.
  • Percent full is reset to 0.
  • Number of logical kilobytes written is reset to 0.
  • Number of physical kilobytes written is reset to 0.
  • Number of logical kilobytes deleted is reset to 0.
  • Number of logical blocks written is reset to 0.
  • Readable status is reset to Y.
  • Writable status is reset to Y.
  • Backup type is reset to the current backup type (1 or 2) if this is an object backup storage group.
  • Dataset name format is set to blank.
  • Tape sublevel is set to blank.
  • Capacity overflow is reset to 0.
  • Freespace overflow is reset to 0.
  • Number of logical kilobytes written overflow is reset to 0.
  • Number of physical kilobytes written overflow is reset to 0.
  • Number of logical kilobytes deleted overflow is reset to 0.
MVSSCRATCH
Removes all knowledge of the tape volume from the OAM inventory and returns the tape volume to the MVS scratch pool. OAM writes the CBR2165I message to the console log for each expired tape volume that is purged from the OAM inventory. In an OAMplex, the OAM member that initially releases the tape volume issues CBR2165I. Then the other OAM members each issue a CBR7404I message indicating that the tape volume is no longer known to that member.

Guideline: Because OAM does not interface with the tape management system, you need to use message automation or manually return the tapes to MVS scratch status. For information on how DFSMSrmm releases tape volumes from OAM, see Deleting recycled tape and optical volumes from OAM.

OAMSCRATCH
Leaves the tape volume under OAM control as an available scratch tape volume to be reassigned to an Object or Object Backup storage group to be reused and rewritten from load point with new data. A message, CBR2164I, is written to the hardcopy console log for each tape volume that completes expiration processing and is reassigned to OAM scratch status. You can reassign this tape volume to any Object or Object Backup storage group that requires a scratch volume with the same attributes.
The following record fields are reset for expired tape volumes in the DB2 TAPEVOL table:
  • Storage group name is set to *SCRTCH*.
  • Volume type is set to S.
  • Expiration date is reset to 01-01-0001.
  • Full status is set to N.
  • Last block ID is reset to 0.
  • Freespace is set to the volume's capacity.
  • Percent full is reset to 0.
  • Number of logical kilobytes written is reset to 0.
  • Number of physical kilobytes written is reset to 0.
  • Number of logical kilobytes deleted is reset to 0.
  • Number of logical blocks written is reset to 0.
  • Tape compaction status is reset to blank.
  • Device EPI value is reset to 0.
  • Readable status is reset to Y.
  • Writable status is reset to Y.
  • Backup type is set to blank.
  • Dataset name format is set to blank.
  • Tape sublevel is set to blank.
  • Volume Attributes Flag is reset to 0 for rewritable and to 1 for WORM
  • Capacity overflow is reset to 0.
  • Freespace overflow is reset to 0.
  • Number of logical kilobytes written overflow is reset to 0.
  • Number of physical kilobytes written overflow is reset to 0.
  • Number of logical kilobytes deleted overflow is reset to 0.
  • The unit name is reset as follows:
    • If the original unit name is non-blank, the unit name is reset to the value in the original unit name.
    • If the original unit name is blank, the unit name is reset according to the installation's specifications for SETOAM OAMSCRATCHSYNCH.
  • The original unit name is reset as follows:
    • If the original unit name is non-blank, it is unchanged.
    • If the original unit name is blank, the unit name is reset according to the installation's specifications for SETOAM OAMSCRATCHSYNCH.
  • The data class is reset as follows:
    • If the data class is non-blank, it is unchanged.
    • If the data class is blank, it is set according to the installation's specifications for SETOAM OAMSCRATCHSYNCH.
TAPESDB(LARGE | SMALL)
An optional subparameter that specifies whether the maximum block size permitted for a tape volume can be greater than 32760. The maximum block size for a volume is set at the time the first object is written to the volume.

If, when the first object is written to a volume, TAPESDB is set to SMALL (or not set), the maximum block size for the volume is set to 32760.

If, when the first object is written to a volume, TAPESDB is set to LARGE, the maximum block size for that volume is set to the optimal system-determined block size for the device or the maximum permitted block size, whichever is less. The maximum permitted block size is obtained from either the Data Class definition or the TAPEBLKSZLIM keyword in the DEVSUPxx member of PARMLIB, as shown in Table 1:
Table 1. Determining maximum permitted block size
Block size limit set in data class? TAPEBLKSZLIM set in DEVSUPxx? Maximum permitted block size
Yes Yes or No Data class block size limit
No Yes TAPEBLKSZLIM value
No No 32760

See System-Determined Block Size inz/OS DFSMS Using Data Sets for details on how the optimal system-determined block size is calculated.

For all subsequent objects written to an OAM tape volume, the maximum block size is the one set for the volume when the first object was written, regardless of the current SETOAM TAPESDB setting and regardless of the size of the first object written.

OAM can read objects from volumes with maximum block sizes greater than 32760, even if TAPESDB is not set or is set to SMALL at the time the object is read.

If TAPESDB is set to LARGE at the time the first object is written to a volume, the volume cannot be read on a system running z/OS Version 1. If volumes are being shared with a z/OS Version 1 system, TAPESDB should be set to SMALL or not set.

Note: This is a global specification only and cannot be specified at the storage group level. Additionally, the TAPESDB specification cannot be modified using the MODIFY OAM,UPDATE command.