Let me add my  two cents in.

If you have File-AID MVS it would be very easy to create a Batch job with the 
following control card statement


$$DD01 VTOCDSN UNIT=3390,DSNAME=*P.+

This output can then be manipulated if need be or just listed on a report.

If you have any other questions feel free in contacting me.

Robert Galambos 

Compuware Senior Technical Specialist 
IBM Certified Solutions Expert - 
DB2 UDB for OS/390 Database Administration 
[EMAIL PROTECTED]
 
  
Tel: +1 905 886 7000 
Toll Free: +1 800 263 7189
Fax: +1 905 886 7023
Quebec: +1 877-281-1888 
  
Compuware      Canada
        
Service is our best product     
 Les renseignements contenus dans le présent message électronique sont 
confidentiels et concernent exclusivement le(s) destinataire(s) désigné(s). Il 
est strictement interdit de distribuer ou de copier ce message. Si vous avez 
reçu ce message par erreur, veuillez répondre par courriel à l'expéditeur et 
effacer ou détruire toutes les copies du présent message.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Robert Fake
Sent: April 11, 2007 4:39 PM
To: [email protected]
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?

Thanks in advance for your help.

Bob
Robert B. Fake
InfoSec, Inc.
703-825-1202 (o)
571-241-5492 (c)
949-203-0406 (efax)
[EMAIL PROTECTED]
Visit us at www.infosecinc.com

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

The contents of this e-mail are intended for the named addressee only. It 
contains information that may be confidential. Unless you are the named 
addressee or an authorized designee, you may not copy or use it, or disclose it 
to anyone else. If you received it in error please notify us immediately and 
then destroy it. 

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