Do you want to include data sets not cataloged also?

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Imbriale, Donald
Sent: Wednesday, April 11, 2007 4:51 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Extract listing of production datasets

>From ISPF 3.4, specify a dsname level of %%%P.  Then after the list is
displayed issue command SAVE PRODDSNS.

Similar functionality can be built into a program which calls ISPF
services.

Don Imbriale

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Fake
Sent: Wednesday, April 11, 2007 4:39 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Extract listing of production datasets

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?

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