Amaln,

VSAM imlicitly does a VERIFY as part of OPEN. Is the program with the ABEND
actually abending, or are you just getting the messages saying the file was
left opened (the messages are from verify).

Perhaps you should post the messages or the abend info.

Ron 

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Amlan Prasad
> Sent: Saturday, August 04, 2007 7:18 AM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: [IBM-MAIN] Closing VSAM File
> 
> Suppose program 'A' is processing a VSAM file and abends in 
> middle. What happens to the VSAM file? Will it be closed 
> automatically?
> 
> If by chance the file is not closed properly because of the 
> abend is there a way or utility by the VSAM can be closed 
> explicitly from outside so that it is available for use.
> We are facing a abend where the program abends trying to open 
> a file saying that it is already in use or open. We have 
> verified and at that point the file was not accessed by any 
> other user and the program also do not have logic to open 
> multiple times. Some earlier jobs had abended using that file.
> 
> Thanks,
> Amlan
> 
> ----------------------------------------------------------------------
> 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

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