John,

You say the first vol of the multi-vol DSN is on SYS306, yet your INPUT1 is 
pointing to SYS301.  

Rex

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of John Dawes
Sent: Friday, October 17, 2014 12:17 PM
To: [email protected]
Subject: DFDSS QUESTION - LOOKING FOR EXAMPLE.

G'Day,

Would anybody have an example of an input volume list.  I am trying to perform 
a logical backup of a volume however some of  the dsns are multi-volume.  The 
doc says the following :

Specify SELECTMULTI(FIRST) and include the first volume of the data set in the 
input volume list. For VSAM data
sets, you must include the first volume of the data component in the input 
volume list.
 
Below is my jcl:

//BACKUP  EXEC PGM=ADRDSSU,REGION=4096K                   
//INPUT1   DD UNIT=SYSALLDA,VOL=SER=SYS301,DISP=OLD       
//TAPE1    DD UNIT=3490,LABEL=(1,SL),                     
//         DSN=HESP.LOGICAL.BACKUP.SYS301.COPY1,          
//         DISP=(,CATLG,DELETE),VOL=(,,,35)               
//TAPE2    DD UNIT=3490,LABEL=(1,SL),                     
//         DSN=HESP.LOGICAL.BACKUP.SYS301.COPY2,          
//         DISP=(,CATLG,DELETE),VOL=(,,,35)               
//SYSPRINT DD SYSOUT=*                                    
//SYSUDUMP DD SYSOUT=*                                    
//SYSMAP   DD SYSOUT=*                                    
//SYSIN    DD *                                           
  DUMP DATASET(INCLUDE(**)                         -      
              EXCLUDE(SYS1.**))                    -      
      SELECTMULTI(FIRST)                           -      
      SPHERE                                       -      
      LOGINDDNAME(INPUT1)                          -      
      OUTDD(TAPE1,TAPE2) OPT(4) ALLDATA(*) ALLEXCP        
/*                                        

The first of the dsn is on volume SYS306 and the third extent is on SYS340.   
We have a corrupted VTOC INDEX.               

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

The information contained in this message is confidential, protected from 
disclosure and may be legally privileged.  If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful.  If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format.  Thank you.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to