There is no easy way to do this short of "brute force". However, Brute force is just what computers were designed for!
Generate a clist/rexx to issue the commad 'HLIST DA('datasetname') BOTH for each dataset on the TTOC listing. This will tell you if there is a backup for this dataset. Use this information to generate HDEL 'datasetname' and HRECOVER 'datasetname' commands. HTH, <snip> i've a ttoc list of ml2 tape that i need to check if dsns in it have backup and if they have delete migrat2 catalog entry and recover dsn from a backup. Do you know a expedite way of doing this ?? </snip> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN