Handle AID-File Not Open Error Condition



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Handle AID-File Not Open Error Condition

Postby Healy » Sat Jul 05, 2014 6:16 pm

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
Healy
 
Posts: 14
Joined: Mon May 12, 2014 9:47 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Handle AID-File Not Open Error Condition

Postby Robert Sample » Sat Jul 05, 2014 7:42 pm

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Handle AID-File Not Open Error Condition

Postby Healy » Mon Jul 07, 2014 2:38 pm

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
Healy
 
Posts: 14
Joined: Mon May 12, 2014 9:47 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Handle AID-File Not Open Error Condition

Postby Terry Heinze » Wed Oct 01, 2014 5:02 pm

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?
.... Terry
Terry Heinze
 
Posts: 239
Joined: Wed Dec 04, 2013 11:08 pm
Location: Richfield, MN, USA
Has thanked: 12 times
Been thanked: 11 times

Re: Handle AID-File Not Open Error Condition

Postby BillyBoyo » Wed Oct 01, 2014 5:09 pm

Thanks Terry and he who flagged. I'll tidy this further later.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post