I'd suggest using access method services (IDCAMS) DELETE NOSCRATCH.

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Richard McIntosh <[email protected]>
Sent: Tuesday, August 20, 2024 2:10 PM
To: [email protected]
Subject: How to cleanup old datasets

I have a bunch of old tape datasets that are still cataloged, but the tapes 
don't exist anymore.
Looking for something to help in identifying all and create JCL to uncataloged 
them.

Thanks

Richard

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to