----------------------------<snip>--------------------------

I have a need to generate a listing of all production datasets.  The way the
production datasets are identified is via the 4th byte of the high level
qualifier.  If the 4th byte is a P, it is production.

For example:  EGMP.DATASET.ONE and DNUP.DATASET.ONE are production.

EGMT.DATASET.ONE and DNUT.DATASET.ONE are test, etc.

What is the easiest method to identify and extract to a flat file these
production dataset names?

Thanks in advance for your help.
--------------------------<unsnip>---------------------------
I'd probably do a LISTCAT NAME on all the possible catalogs and feed the results into DFSORT, excluding anything that didn't have t 'P' in the right position.

----------------------------------------------------------------------
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