Determine expiration date for SMS-managed data set
search cancel

Determine expiration date for SMS-managed data set

book

Article ID: 250680

calendar_today

Updated On:

Products

DISK BACKUP AND RESTORE

Issue/Introduction

How to determine the expiration date set for the SMS-managed data set ?

 

 

Environment

Release : 12.5

Component : Disk Backup and Restore

Resolution

SMS and EXPIRE

Disk  expires a data set based on its Management Class and Storage Group attributes. In the Management class, the Expire after Days Non-usage  field and the Expire after Date/Days field work together. If both fields are numeric, both must be met for the data set to be deleted. If one field has a numeric value and the other has NOLIMIT, the data set will be deleted based only on the numeric value. If both fields have NOLIMIT, the data set will be kept indefinitely.

In the Storage Group, the  Auto Migrate  field can be defined as YES, NO, INTERVAL or PRIMARY. When this field is defined as YES, INTERVAL or PRIMARY, data sets will be eligible for expiration. When this field is defined NO, Disk will not allow the expiration of any of the data sets for the Storage Group.

For more information regarding the Management Class attributes or DFSMS definition in general, see the DFSMS Storage Administration Guide .

The SMS fields that Disk  supports are as follows:

  • Expire After Days Non-usage (MC) - This optional field can be defined 1 to 9999, or NOLIMIT. The default is NOLIMIT. When this field is defined with a number, the data set becomes eligible for expiration that number of days after the last use date. When this field is defined NOLIMIT, the data set can be kept indefinitely.
  • Expire After Date/Days (MC) - This optional field can be defined 1 to 9999, yyyy/mm/dd, or NOLIMIT. The default is NOLIMIT. When this field is defined with a number, the data set is eligible for expiration that number of days after the creation date. When this field is defined with a date, the data set becomes eligible for expiration on that date. When this field is defined NOLIMIT, the data set can be kept indefinitely.
  • Rolled-off GDS Action (MC) - This optional field can be defined MIGRATE, EXPIRE, or blank. The default is blank. When this field is defined MIGRATE, 

Disk deletes the rolled-off data set unless the expiration attributes have not expired. When this field is defined EXPIRE,  Disk  deletes the rolled-off data set unless the explicit expiration date in the format-1 DSCB is not met. When this field is defined with a blank, Disk deletes the rolled-off data set unless expiration attributes have not expired. To have the sample about this please read SMS and EXPIRE