Sounds good to me. An alternative would be to user DCOLLECT TYPE M records to get the same info. A little less logic would be needed.
With CSI, you will need to determine if the dataset is migrated via the volser. DCOLLECT TYPE M records only come from the MCDS so this might be simpler. HTH, <snip> We have a need from time to time to do a large number of recalls (5000 or more) at a time. The datasets have a fairly consistent naming convention. But it looks like the RECALL command does not use masks but requires the entire name filled in. I am thinking of creating a CSI (catalog search) function to take the mask and build the commands. Just wondering if I going to the right path or not. </snip> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
