Terry Sambrooks wrote:
Hi Mark,

In respect of your VSAM close giving RC=4. I am not a VSAM expert so the 
following may be off beam, but I remembered this quote from the Data Set Macros 
Manual.

"Requirement: If you are sharing subtasks or if you have issued an asynchronous 
request for access to a data set, you must issue a CHECK or an ENDREQ on all

RPLs before you issue a CLOSE or CLOSE TYPE=T. Otherwise, concurrent data set I/O 
activity causes unpredictable results during a close."

I wondered if the above fits with your question?

"Is there any IO call that would/could/should leave the ACBBUSY flag set when it returns? It would seem that this is the most obvious difference between all the ACBs."
Kind Regards - Terry
Terry,

I'm doing SYNC IO requests.  So CHECK should not be needed.
I've tried the ENDREQ approach with no change in the results.

Thanks for the ideas though.

-Mark

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