I just ran: 

//    EXEC PGM=IEFBR14                     
//SYSPRINT  DD SYSOUT=*                    
//SYSOUT    DD SYSOUT=*                    
//VOLSER DD DSN=SOME.JUNK.DSN,DISP=OLD,    
// UNIT=SYSDA,VOL=SER=STOR01               

My result: 

ICH70001I DPC088   LAST ACCESS AT 17:03:31 ON WEDNESDAY, AUGUST 5, 2009 
IEF212I DPC088IF VOLSER - DATA SET NOT FOUND                            
IEF272I DPC088IF - STEP WAS NOT EXECUTED.                               

If the volume you specify is an SMS-managed volume, the catalog *will*
be searched for the dataset.  

//    EXEC PGM=IEFBR14                   
//SYSPRINT  DD SYSOUT=*                  
//SYSOUT    DD SYSOUT=*                  
//VOLSER DD DSN=SOME.JUNK.DSN,DISP=OLD,  
// UNIT=SYSDA,VOL=SER=Z19STG             

 DPC088IF - STEP WAS EXECUTED - COND CODE 0000           
   DPC088.DPC088IF.JOB68523.D0000101.?          SYSOUT   
   DPC088.DPC088IF.JOB68523.D0000102.?          SYSOUT   
   SOME.JUNK.DSN                                KEPT     
   VOL SER NOS= Z19STG.                                  

Greg Shirey
Ben E. Keith Company
 

-----Original Message-----
From: IBM Mainframe Discussion List On Behalf Of Wayne Driscoll
Sent: Wednesday, August 05, 2009 12:24 PM
To: [email protected]
Subject: Re: 2 Identical STC Running at the Same Time

If you specify DSN=DOES.NOT.EXIST the catalog will be queried to find
the 
volser.  If no catalog entry is found, JCL error.  However, you specify 
DSN=DOES.NOT.EXIST,VOL=SER=VOLXXX and VOLXXX is online, it will work.

===============================================
Wayne Driscoll
OMEGAMON DB2 L3 Support/Development
wdrisco(AT)us.ibm.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

Reply via email to