At 09:06 -0700 on 07/28/2006, Edward Jaffe wrote about Re: Data set ENQueues and DEQueues in Jobs:

Staller, Allan wrote:
 I am not familiar enough w/JES3 to make a useful comment.
  

The initiator (IEFIIC) is not a JES program! It does what it does
without regard to the type of job entry subsystem in use.

As stated previously by others, the data set ENQs are acquired at job
initiation time. They're released at the end of the last step that
references them.

I have the impression that the initiator is also smart enough to issue a ENQ TYPE=CHNG (to switch from ENQ=EXC to ENQ=SHR) if subsequent steps have the DSN as DISP=SHR after the last step that has it as DISP=OLD (ie: Exclusive).

IOW: The holding of DISP=SHR Jobs due a DISP=OLD job will get removed with the Blocking Job only needs a DISP=SHR ENQ not when it no longer needs the dataset (ie: When the ENQ is released as is referenced above).

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to