Previous Topic: EXPIRE Command Example 2Next Topic: Sample Backup/Archive/Delete Report


EXPIRE Command Example 3

Expire (in simulate mode) all VSAM clusters with data set names beginning with LABS.KSV, having expiration dates of January 1, 1999 or before.

//jobname JOB (acct,info),etc.
//STEP EXEC DMS
SET MODE=SIMULATE
SCAN CAT=/
SELECT DSN=LABS.KSV./,CRITERIA=(DSORG,EQ,VSAM)
EXPIRE DATE=1999.001