Page 1 of 1

Handle AID-File Not Open Error Condition

PostPosted: Sat Jul 05, 2014 6:16 pm
by Healy
In a CICS program, the Handle AID condition falls through the NOTOPEN error condition.

It hits the condition that the file is not open and displays the error Message "NOTOPEN" on the screen.

The problem is i have checked through the file status throught the "CEMT I FI(file name)" command and it shows the file as enabled and open.

However, the Handle AID condition still falls through the NOTOPEN condition.

The operation being performed is a VSAM file is already Open and is read using READ command of CICS after which the map a SEND MAP takes place.

There is no way that i can debug the code using a debugger. I have tried closing and opening the file again but that didn't work.

I am aware there is little information to go on, however is there any way i can find out why the NOTOPEN condition gets hit even though the file is open because i am not able to debug the code. Any command to look at the queue contents that may help.

Any help is much appreciated.
Thank You
Healy

Re: Handle AID-File Not Open Error Condition

PostPosted: Sat Jul 05, 2014 7:42 pm
by Robert Sample
Does your site use MRO with a file owning region? If so, the file you are checking from your terminal most likely is NOT the file that is being accessed by CICS.

Re: Handle AID-File Not Open Error Condition

PostPosted: Mon Jul 07, 2014 2:38 pm
by Healy
Yes we do use MRO with file regions. I have resolved the error now, It was a simple coding mistake involving a missing period :lol: .

Thank You for your Help Robert !

Healy

Re: Handle AID-File Not Open Error Condition

PostPosted: Wed Oct 01, 2014 5:02 pm
by Terry Heinze
mohsin789,
??? Problem was resolved 3 months ago. Did you read the previous posts? Why did you repost Robert Sample's reply? Just to sneak in your signature?

Re: Handle AID-File Not Open Error Condition

PostPosted: Wed Oct 01, 2014 5:09 pm
by BillyBoyo
Thanks Terry and he who flagged. I'll tidy this further later.