Maybe if you can explain in more detail what situation you are trying to solve for would help?
_________________________________________________________________ Dave Jousma Assistant Vice President, Mainframe Engineering [email protected] 1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H p 616.653.8429 f 616.653.2717 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Steff Gladstone Sent: Monday, April 20, 2015 11:18 AM To: [email protected] Subject: Re: ENQ for the life of the job I suppose a final job-step to do the DEQ with COND=EVEN would not always do the trick. As I recall there are some types of abends that flush the job including steps with COND=EVEN, right? On Mon, Apr 20, 2015 at 6:09 PM, John McKown <[email protected]> wrote: > On Mon, Apr 20, 2015 at 9:41 AM, Steff Gladstone < > [email protected]> > wrote: > > > The ENQ has to be transparent to the JCL. Could I dynamically allocate > a > > dataset with DISP=(OLD,PASS)? As I recall the dynamic allocation > > does > not > > permit the use of PASS. > > > > Hum, I'm going to go way out on a limb and start sawing. <grin/> > > I wonder if it would be possible to do a directed ENQ of a SYSDSN to > the initiator TCB and then modify the SWA to "generate" the internal > information for a DD and place that as if it had been in a DD in the > JCL. I am likely not saying that very well. But I'm thinking that > products like > CA-11 do this sort of thing for restart (in order to change GDG > generation numbers). If this were possible, then perhaps the initiator > would do the DEQ at end of job. > > Perhaps Chris, or another ISV person, would know. > > > > > > > > > On Mon, Apr 20, 2015 at 5:30 PM, Blaicher, Christopher Y. < > > [email protected]> wrote: > > > > > I guess you could do that, assign the initiator TCB to the ENQ, > > > but > what > > > happens if the job abends before the step you do the DEQ in? > > > > > > I think this will work - If the purpose is to prevent two similar > > > processes, then why not use a common data set and allocate it as > > > DISP=(OLD,PASS). That way the ENQ on the data set will last for > > > the duration of the job, and if it dies early the ENQ > > > automatically goes > > away. > > > > > > Chris Blaicher > > > -- > If you sent twitter messages while exploring, are you on a textpedition? > > He's about as useful as a wax frying pan. > > 10 to the 12th power microphones = 1 Megaphone > > Maranatha! <>< > John McKown > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
