-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Tuesday, February 16, 2021 4:40 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


Hi Gil,

I'm not sure what a "scheduler enqueue" is either.  What I do know is that FDR 
"bumped" the enqueue on a PDS from SHR to OLD before starting the backup step.  
In my case it wouldn't have mattered to downgrade the ENQ back to SHR at the 
end of the backup because the backup takes 3 hours and the following steps in 
the job run in a couple minutes.  I'll just change the job to use in-stream 
SYSIN instead of reading the PARMLIB.  Fortunately for me its in-stream data 
that will never change.

Rex

The information contained in this message is confidential, protected from 
disclosure and may be legally privileged.  If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful.  If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format.  Thank you.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to