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 <john.archie.mck...@gmail.com>
wrote:

> On Mon, Apr 20, 2015 at 9:41 AM, Steff Gladstone <
> steff.gladst...@gmail.com>
> 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. <
> > cblaic...@syncsort.com> 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to