On Wed, 19 Feb 2025 07:50:33 -0600, Scott Ballentine wrote: >>I have a two step job. Step 1 attempts to perform a dynamic allocation of a >>dataset. It's failing since step 2 allocates the dataset DISP=SHR, >and the >>enqueue is already created before the dynamic allocation is attempted. > >This doesn't sound right to me. In step 1, SVC 99 should recognize that the >ENQ is held, and upgrade it from shared to exclusive. It should then be held >exclusive until step 2 ends (or whatever the last step of the job that uses >the data set is.) > Not so. Such a problem has been discussed here previously and is easily manifested using PGM=BPXBATCH,PARM='/bin/cp ...' in step 1.
Has the OP opened an issue with the vendor as a problem, not an RFE? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN