>>> I need to check whether any of a list of datasets exists and whether any of 
>>> a list of ddnames is allocated.

Shmuel,

How about issuing ENQ in loop for all the datasets in the list?  Once you hit a 
dataset that is already allocated you can quit the search.

Thanks,
Kolusu

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to