>Best explanation yet! But, and here I?m showing a little ignorance, I?m >running JES2. I didn?t think JES2 did any enqueues until the step started?
A list of all DSNs in the whole job is built when the initiator starts processing s job. For each DSN a enqueue is the acquired, share or exclusive depending on DISP. The enqueues will be released DSN by DSN at the end of the last step referring to it (in a DD statement). z/OS V2.1 introduced a new JCL and JESx JOBCLASS keyword DSENQSHR. With this, the initiator may be adviced to demote an exclusive enqueue to a share one at the end of the last step allocating the data set with DISP=NEW, OLD, or MOD (if there are allocations in later steps with DISP=SHR). -- Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
