Joined: 30 Nov 2013 Posts: 707 Location: The Universe
Retention period is not a data set attribute. The retention period specified in JCL or the IDCAMS DEFINE CLUSTER command is immediately converted to an expiration date that subsequently becomes a data set or cluster attribute.
This cluster does not have an expiration date.
Code:
LISTCAT ALL ENT(XXXXXX.UCHECK.DB)
CLUSTER ------- XXXXXX.UCHECK.DB
IN-CAT --- redacted
HISTORY
DATASET-OWNER-----(NULL) CREATION--------2015.197
RELEASE----------------2 EXPIRATION------0000.000
It is easier to obtain the expiration date for a VSAM cluster than a non-VSAM data set.
As we have no knowledge of the process that is supposed to delete expired VSAM clusters we cannot speculate about the reason these data sets are not being deleted.
This is annoying. Last ref date does not appear to be a VSAM attribute. though you can use the last ref date of the data set component of the data area of the of the data set.
Thanks for your clarification. Actually in our environment some of the data sets are not deleted even though their non usage days matching with their Management class
Ex :
Vsam dataset : REPT.PPPP.TST18221
Created on : 2005/03/19
Last referred on : 2018/08/09
Joined: 30 Nov 2013 Posts: 707 Location: The Universe
steve-myers wrote:
...As we have no knowledge of the process that is supposed to delete expired VSAM clusters we cannot speculate about the reason these data sets are not being deleted. ...