View previous topic :: View next topic
|
Author |
Message |
raja1128
New User
Joined: 09 Jan 2007 Posts: 17 Location: india
|
|
|
|
Hi all,
I have a situation like this;
I have a screen. when i enter data in to it, it writes record in a vsam file.
now i have increased a field in the screen from 9 to 10 bytes. i have assembled map and program in to a loadlib which is used by the online region which i am using.
corresponding include is also increased.
i am opening the file in CICS region
first, when i was using the screen i didnt work because the vsam size was of the old length. it didnt abend.
now i have delete defined the vsam file(empty).then also it didnt work.
i added a record manually then also it didnt work.
it is giving AIEM abend which is 'NOT FOUND'. when i do CEDF
it goes to MAP-FAIL para. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
You are going to get in trouble if kolusu catches you not following her 8 hour rule......
How are you expecting to get to the mapfail routine if you do have a mapfail, handle condition?
What is the notfound sayiing is not found? |
|
Back to top |
|
|
raja1128
New User
Joined: 09 Jan 2007 Posts: 17 Location: india
|
|
|
|
hi ,
I donno what is 8 hour rule, i'll surely find it out.
I am not a reguler user.
I do have a map-fail handle condition.
I think the 'not found' item is control redord in vsam file, which got deleted when i delete defined the file.( which i understood from dump)
i am not sure if it is abending when receiveing map or attempting to write file. but i get abend when i enter the data and press enter.
please suggest.
thanks......... |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
raja1128 wrote: |
I donno what is 8 hour rule, i'll surely find it out.
I am not a reguler user. |
You mean that you DON'T read forum rules??????
Quote: |
I do have a map-fail handle condition.
I think the 'not found' item is control redord in vsam file, which got deleted when i delete defined the file.( which i understood from dump)
i am not sure if it is abending when receiveing map or attempting to write file. but i get abend when i enter the data and press enter. |
It sounds like you have the beginning of a good handle on the problem.
First off, handle the not found, either by re-inserting the record or checking the response after attempting to read the record.
If you had a specific mapfail handle, the notfound should not have gone there. If you were just handling all conditions, that's why....
CEDF is your friend, I use it all the time..... |
|
Back to top |
|
|
raja1128
New User
Joined: 09 Jan 2007 Posts: 17 Location: india
|
|
|
|
I will surely read forum rules.excuse me this time.
it was not map-fail(first statement executed in cedf which i thought the abend). it was control record not found.
I inserted a control record and it is working fine. i am able to add, update and inquire records. but i am not getting the messages which i have to.
screen fields, include, file, com-length, dfhcommarea, corresponding working storage for screen......are increased accordingly.
where probably i am going wrong and not getting messages(last line of screen).
thanks....... |
|
Back to top |
|
|
|