This is also mentioned by the IEF212I message, bullet 5: A step tried to receive a passed data set. However, the data set has been received as many times as it was passed.
Kees. "David Kreiss" <[email protected]> wrote in message news:<[email protected]>. .. > I think this explains the passed data set restriction seen. I believe the example found in section 4.1.1.2.1 is incorrect and is a doc error. > > http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2b560/4.6. 2.1.5?SHELF=&DT=20100701093058&CASE= > > 4.6.2.1.5 Passing a Data Set > > Do not try to receive a passed data set more times than it is passed. > > When a passed data set is received, the passed data set information is no longer available to later DD statements in the receiving step or later steps. Therefore, a VOLUME=REF parameter that refers to the passed data set must appear on a DD statement before the receiving DD statement. For example: > > //JEX JOB ACCT27,'GALE RUCINSKI' > //S1 EXEC PGM=A > //DA DD DSNAME=MYDATA,DISP=(NEW,PASS), > // SPACE=(800,15),UNIT=DISK > //S2 EXEC PGM=B > //DB DD DSNAME=REPT,DISP=(NEW,PASS), > // SPACE=(800,15),UNIT=DISK,VOLUME=REF=MYDATA > //DC DD DSNAME=*.S1.DA,DISP=SHR > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Paul Gilmartin > Sent: Saturday, January 29, 2011 11:10 AM > To: [email protected] > Subject: Re: Second Reference to Temporary Data Set Fails > > On Fri, 28 Jan 2011 18:14:50 -0800, Edward Jaffe wrote: > > > >It fails with: > > > >IEF212I JCLERROR IGMLENU SYSUT2 - DATA SET NOT FOUND > > > >If it can find the data set for SYSUT1, then why can't it find it for SYSUT2? It > >works fine when a normal cataloged data set is used. It fails only with a > >temporary data set. We can't find this restriction documented. > > > Armed with a priori knowledge of the correct answer, I went looking for > the restriction. I found, to the contrary, that it's supposed to > work: > > http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2b560/4.1. 1.2.1 > > ... but fails with the error you got. > > PMR Record 60499,033,000 has been submitted to IBM. > > I hope they don't persist in their habit of changing the rules whenever > a customer reports a problem they feel like not fixing. > > I hate JCL! > > -- gil > > ---------------------------------------------------------------------- > 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 > > ---------------------------------------------------------------------- > 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 ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** ---------------------------------------------------------------------- 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

