Thanks Mark for your help.  It worked.
  

Mark Zelden <[EMAIL PROTECTED]> wrote:
  On Wed, 23 Jan 2008 08:22:19 -0500, esmie moo wrote:

>Good Morning Gentle Readers,
>
> I am trying to execute an IEHLIST of a dsn. The problem occurs when I
list a multiple volume dsn. I checked the manual - Z/OS V2R13.0 DFSMSdfp
Utilities. but there is no example about coding multiple vols.
>
> Below is what I am using;
> LISTVTOC FORMAT,VOL=SYSDA=(DRC557,DRC514),DSNAME=HESP.DXOGL5.SASPWDB
>

VTOCs don't span multiple volumes. The best you can do is list the VTOC 
entries associated with that data set one volume at a time. 

//IEHLIST EXEC PGM=IEHLIST 
//SYSPRINT DD SYSOUT=* 
//DD1 DD DISP=OLD,VOL=SER=DRC557,UNIT=SYSDA 
//DD2 DD DISP=OLD,VOL=SER=DRC514,UNIT=SYSDA 
//SYSIN DD * 
LISTVTOC FORMAT,VOL=SYSDA=DRC557,DSN=HESP.DXOGL5.SASPWDB
LISTVTOC FORMAT,VOL=SYSDA=DRC514,DSN=HESP.DXOGL5.SASPWDB


Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:[EMAIL PROTECTED]
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

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


       
 
              
---------------------------------
    
       
Yahoo!         Canada Toolbar : Search from anywhere on         the web and 
bookmark your favourite sites. Download it now!          

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