i want to use the referenced date of pds/ps in my JCL. is there any way i can do it?
i basically want to delete several ps which have not been referenced in the past 2 months using JCL..
Use DFDMSdss (PGM=ADRDSSU) for this task. Chapter 9 of the DFDMSdss Storage Administration book describes how to use ADRDSSU to manage DASD space, and has a specific section demonstrating how to delete unused or stale data sets using the DUMP command to a DUMMY DD. Use PARM='TYPRUN=NORUN' during your testing as you tweak your filters.