I have a long, dynamic list of DASD volume names that I would then like
to generate a list of dataset names from by volume.  I can do this by
having a job generate a job, but those tend to turn into a bit of a
maintenance problem.

For example.

(first step, create all the IEHLIST control cards for the volumes I need
listings for.  Place in &&IEHTEMP)

 //LISTVT1  EXEC PGM=IEHLIST                                        
 //SYSPRINT   DD SYSOUT=*

 //VOLDD1     DD UNIT=3390,VOL=SER=WORK01,DISP=SHR                  
 //SYSIN      DD DSN=&&IEHTEMP,DISP=(OLD,DELETE)                    
 //                                                                 

I can generate the IEHTEMP input dataset in a prior step for all volumes
I want, but within the same job, I cannot dynamically create the VOLDD1
pointers to use.  I can have this job submit a second job, but I was
hoping to avoid that.  I can use our scheduler to create a job
precedence and that is what I will probably do if there is no dynamic
way to get the data.

The job bombs if I leave the VOLDD1 card out and just have a list of
control cards.

LISTVTOC FORMAT,VOL=3390=WORK01
LISTVTOC FORMAT,VOL=3390=WORK02
...

Is there any utility that will create a list of DSNs on a volume that
does not require a DD card pointer to that volume?  I don't need DCB or
other info.  Just the Dataset name.  I also don't want to miss any
special not-catalogged datasets on the volume.

Thanks in advance.

Kriss



-------------------------
Kriss Davis, CCP
Interim Mainframe/eServer Manager
Datatel Project Management 
Illinois State University
[EMAIL PROTECTED]
309-438-2802
-------------------------

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