Page 1 of 2

cics file program

PostPosted: Tue Jul 06, 2010 5:57 pm
by VINUU
I m using VSAM file in CICS program, I defined it in the CEDA section. But still wen i execute it in the CICS region is showing AEIL abend.
Kindly help me out with this issue...

Re: cics file program

PostPosted: Tue Jul 06, 2010 6:47 pm
by enrico-sorichetti
before asking did You care to look at the manual for the meaning of the abend code?

here is the link to the manual
http://publibz.boulder.ibm.com/cgi-bin/ ... 0614214024

meditate on it for a while and if something is not clear somebody will be glad to explain!

but, remember we do not have access to Your environment,
so You will have to carry on a bit of problem determination on Your own
or ask Your support ( they are the people who usually take care of these abends )

Re: cics file program

PostPosted: Wed Jul 07, 2010 4:42 pm
by VINUU
HI,

I actually checked what this abend code means in net. It said it is a FILE NOT FOUND error. I already defined my VSAM file it in the CICS region through ceda command . I dont know why it is not recognizing the file.Kindly help.

Re: cics file program

PostPosted: Wed Jul 07, 2010 11:01 pm
by dick scherrer
Hello and welcome to the forum,

Is some other program able to open this file?

What happens when you Inquire about the file cemt i fil(fnam)?

Re: cics file program

PostPosted: Thu Jul 08, 2010 2:12 pm
by VINUU
HI,

when i inquire about the file it says

STATUS: RESULTS - OVERTYPE TO MODIFY
Fil(FILE2 ) NOT FOUND


please help me out...

Re: cics file program

PostPosted: Thu Jul 08, 2010 11:18 pm
by dick scherrer
Hello,

If the file is not found by the system, nothing else can be done with it.

Suggest you work with your cics support and determine where the definition "has" this file. It may be as simple as the name known to cics is not the same as the name known to the program.

Re: cics file program

PostPosted: Fri Jul 09, 2010 10:58 am
by VINUU
Hi,

Can u please tell me how to define the VSAM file in the CICS region. I defined it using the CEDA command.Is there any other way to define it.

Knidly help..

Re: cics file program

PostPosted: Sat Jul 10, 2010 12:15 am
by dick scherrer
Hello,

I defined it in the CEDA section.
Now you need to talk with the cics support for the system.

They can determine if your definition is as it needs to be for this file and they can see if there is a problem with the code trying to read the file. As a cemt inquire cannot find the file, i suspect the code is not the issue (yet).

Re: cics file program

PostPosted: Sun Jul 11, 2010 8:43 pm
by Robert Sample
Defining a file via CEDA does nothing to the region until the definition is installed. If you did not install the definition, the file won't be found even though you can see it via CEDA.

Re: cics file program

PostPosted: Mon Jul 12, 2010 3:58 pm
by VINUU
Hi,

The problem is solved... i din install the file previously.I installed it now.. Now the error is rectified.Thanks a lot everyone :)