-----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Paul Gilmartin Sent: Wednesday, April 07, 2010 12:46 PM To: IBM-MAIN@bama.ua.edu Subject: Re: JCL QUESTION
On Wed, 7 Apr 2010 11:09:28 -0500, McKown, John wrote: > >all the time. If you need to be sure that nobody else is using the DSN, then put an IEFBR14 step at the end of the job with a DISP=OLD on it. > But beware JES3 setup. DISP=MOD is safer. (Does JES3 require UNIT and SPACE, lest DSN not exist?) <SNIP> I know that it does require the DSN (whether by catalog or by volume specific allocation). I don't recall it requiring space. However, I normally use SPACE=(TRK,1) as someone else demonstrated. Using IDCAMS will get you a JCL error, because SETUP makes sure that the DSN is actually available -- it doesn't see the dynamic build. Later, Steve Thompson -- Opinions expressed by this poster may not reflect those of poster's employer -- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html