Previous Topic: CATSTAT — Catalog status of the data setNext Topic: EXPDT — Expiration date (date format)


CREDT — Creation date (date format)

Comparison dates can be entered in any acceptable CA Disk format. For all processing of non-VSAM data sets, and reporting on VSAM components with SCAN REALVOLS, REPORT COMPONENTS, the value of CREDT is set to the value of the creation date field DS1CREDT in the Format-1 DSCB for each data set or component. Missing or invalid values are assigned a value of 00/00/0000 or 0.

For all other processing of VSAM clusters, the value of CREDT is set to the creation date field DSETCRDT in the catalog entry for each cluster. Missing or invalid values are assigned a value of 00/00/0000 or 0.

For example, to select data sets without creation dates, use:

SELECT CRITERIA=(CREDT,EQ,0)

To select data sets and clusters with creation dates in the last 3 days, use SELECT CRITERIA=(CREDT,GE,TODAY-3). Note that this will NOT select data sets and clusters without creation dates!