Glen.Gasior wrote:
I would not assume the search done by ISPF is the same as the search
done by DFSMSDSS. ISPF will search through all catalogs and not limit
itself to the standard catalog search if there is a wildcard in the
first hlq. I do not know about DFSMSDSS.
You may need to know the details of each search algorithm to know if
they are equivalent.


Several potential problems with the suggested DFDSS approach:
DFDSS will only find datasets on primary volumes - any datasets migrated to ML1 or ML2 will be ignored and not deleted. Although the indicated job will not actually write any data to the DUMMY output dataset, the DFDSS DUMP will still incur the overhead of reading through all data of the datasets being deleted. The TOL(ENQF) should become a problem (delete failure) when it is time for the DELETE to occur if any other address space has the dataset enqueued.

If there are not that many datasets and migration is a possibility, I would be tempted to look for some BATCH REXX approach with LISTC and DEL, which would handle migrated datasets. If there were 5K+ datasets involved, using the Catalog Search Interface to identify the datasets rather than LISTC would take more work but would be considerably more efficient.




--
Joel C. Ewing, Fort Smith, AR        [EMAIL PROTECTED]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to