Actually, it doesn't have to exist at all, I have used something like: //ENQ DD DSN=EXCL.ENQ.DSN,DISP=OLD,VOL=REF=SYS1.LINKLIB in the past, many times. As long as the DD is never opened, the VTOC is never searched for the DSN.
>>> Bill Fairchild <[email protected]> 8/5/2009 11:25 AM >>> Sorry. I meant to say that the data set involved does not have to be anything meaningful. Of course, if DISP=OLD, then the data set must already exist. But you could create a bogus data set with zero space and then reference that with DISP=OLD everywhere that you want to serialize two or more jobs. Bill Fairchild Software Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.4503 * Mobile: +1.508.341.1715 Email: [email protected] Web: www.rocketsoftware.com -----Original Message----- From: Bill Fairchild Sent: Wednesday, August 05, 2009 10:23 AM To: 'IBM Mainframe Discussion List' Subject: RE: 2 Identical STC Running at the Same Time And the data set name does not have to be a real data set. E.g., DSN=MY.BOGUS.DATA.SET.NAME.ETC.ETC.ETC.98765432 Bill Fairchild Software Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.4503 * Mobile: +1.508.341.1715 Email: [email protected] Web: www.rocketsoftware.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Walt Farrell Sent: Wednesday, August 05, 2009 10:07 AM To: [email protected] Subject: Re: 2 Identical STC Running at the Same Time You could put in a DD statement referencing some dsname with DISP=OLD. That would prevent a second STC using that same dsname from running. -- Walt ---------------------------------------------------------------------- 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 CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains confidential and privileged information intended only for the addressee. If you are not the intended recipient, please be advised that you have received this material in error and that any forwarding, copying, printing, distribution, use or disclosure of the material is strictly prohibited. If you have received this material in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the material. Emails are not secure and can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by email. Thank you. ---------------------------------------------------------------------- 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

