Well, the code is now working and the answer is Yes, the ENQ ***is***
released. I am allocating a dataset with SVC 99 DISP=NEW and FREE=CLOSE, and
writing into and the closing it. Then I am submitting a job that allocates
the dataset with JCL DISP=SHR and waiting for the job to run -- and it all
works as intended.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Tom Marchant
Sent: Thursday, November 30, 2006 5:54 AM
To: [email protected]
Subject: Re: DD FREE=CLOSE -- when effective?

No.  It means what it says.  The ENQ is not released, but the data set is 
freed.  This is useful in the case of SYSOUT, allowing JESx to print it 

----------------------------------------------------------------------
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