Greg Shirey wrote:
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.
Ah, good point. I forgot about the SMS impact.
Point your volser to a non-SMS-managed volume
for this process to work.
// 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.
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-393-8716
http://www.trainersfriend.com
z/OS Application development made easier
* Our classes include
+ How things work
+ Programming examples with realistic applications
+ Starter / skeleton code
+ Complete working programs
+ Useful utilities and subroutines
+ Tips and techniques
==> Ask about being added to our opt-in list: <==
==> * Early announcement of new courses <==
==> * Early announcement of new techincal papers <==
==> * Early announcement of new promotions <==
----------------------------------------------------------------------
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