> -----Ursprungligt meddelande----- > Från: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] För Tom > Marchant > Skickat: den 8 december 2011 14:36 > Till: IBM-MAIN@bama.ua.edu > Ämne: Re: JCL "sheesh!" for today > > On Thu, 8 Dec 2011 14:18:06 +0100, Thomas Berg wrote: > > >From my naive viewpoint it's not hard to do a better replacement, > > Like JOL?
Oh, Yes. I forgot that one for the moment. > >As inline data is now allowed in procs as of z/OS 1.13 You could e g have > a rexx pgm that reads > >input that can have any syntax of Your choice and execute it as > allocations etc - and even > >interpret eventual rexx code in the data. > > One difficulty with trying to replace JCL with ReXX code is that > the dynamic allocations can lead to more deadlocks between jobs. > The initiator avoids them by ENQing all the data sets defined in > the JCL before the job starts. Yes, but this also often causes unneeded "queuing" as I see it. If You e g does the allocations in a rexx You could check for ENQ's before allocation and/or retry the allocation repeatedly (per Your choice) with waits between the retries. And also in this situation select the needed allocation dependencies without the "all or nothing" approach that the initiator takes. Note that if You e g is using IDCAMS for allocating/deleting datasets it's even today "under the radar" as seen from the initiator. Regards, Thomas Berg _________________________________________ Thomas Berg Specialist A M SWEDBANK ---------------------------------------------------------------------- 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