The Initiator does an ENQ (SYSZDSN) at the beginning of the job. An authorized program can upgrade an ENQ under the Initiator TCB.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Tuesday, February 16, 2021 5:39 PM To: [email protected] Subject: Re: [EXTERNAL] Re: question on enqueues On Tue, 16 Feb 2021 22:19:56 +0000, Pommier, Rex wrote: >Thanks, Dave, you pointed me in the right direction although the FDR >documentation makes it sound like it doesn't matter how the DSNENQ option is >set. I found this little tidbit in the FDR manual: > >If a data set name appears in a DD statement with DISP=SHR within the >FDR job (not necessarily in the FDR step, FDR changes the scheduler >enqueue for the data set to EXCLUSIVE (DISP=OLD). The data set may be >unavailable to other tasks until the FDR job ends. > Nowadays it might downgrade the ENQ to the initial SHR status at completion. If it cared to. ("scheduler" enqueue? What's a scheduler that performs enqueues?) It hardly matters unless there are additional steps in the job. -- gil ---------------------------------------------------------------------- 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
