On 27 Apr 2007 08:42:12 -0700, in bit.listserv.ibm-main you wrote: >In a recent note, Edward Jaffe said: > >> Subject: Re: sysdsn enq >> >> Ted MacNEIL wrote: >> >> After all, batch processing FREEs all data sets between steps, but >> >> continues to hold the ENQ if a subsequent step uses the same data set >> >> name. >> > >> > I don't thinks that's accurate. >> > DSN allocation is not cleared until EOJ. >> >> Deallocated and the ENQ released after the last job step that uses it. >> >I'll agree with the unattributed quotation, "FREEs all data sets between >steps", >rather than Ed and Ted here. From: > > Title: z/OS V1R6.0 MVS JCL User's Guide > Document Number: SA22-7598-04 > > 4.2.1.1 Data Set Integrity Processing > > When the system has secured control of all permanent data sets, > it allocates and unallocates resources for each step of the job. > The job terminates after the system has unallocated all resources > for the last step in the job. > >The phrasing "unallocates resources for each step" makes it clear enough >for me, taking "FREE" as synonymous with "unallocate".
In JES3 the enqueue on the DSN is held on the data set with possible downgrading until last use. I believe that it is also held if the data set is passed regardless of spooler. > >-- gil ---------------------------------------------------------------------- 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

