View previous topic :: View next topic
|
Author |
Message |
lalit.bakde
New User
Joined: 12 Jul 2006 Posts: 7
|
|
|
|
Hi All
While accessing a CICS program from Java frontend I'm
getting AEIO abend. All table entries for the corresponding CICS
program seems to be ok.
Can anybody tell me what/why this abend |
|
Back to top |
|
|
vasanthkumarhb
Active User
Joined: 06 Sep 2007 Posts: 275 Location: Bang,iflex
|
|
|
|
Hi lalit,
AEIO indicates a duplicate key (DUPKEY) condition.
Regard's
Vasanth...... |
|
Back to top |
|
|
vasanthkumarhb
Active User
Joined: 06 Sep 2007 Posts: 275 Location: Bang,iflex
|
|
Back to top |
|
|
lalit.bakde
New User
Joined: 12 Jul 2006 Posts: 7
|
|
|
|
vasanthkumarhb wrote: |
Hi lalit,
AEIO indicates a duplicate key (DUPKEY) condition.
Regard's
Vasanth...... |
Thanks Vasanth,
Could you please tell me how this abend can be avoided or
what would be the solution to rectify this abend.
Regards,
Lalit |
|
Back to top |
|
|
socker_dad
Active User
Joined: 05 Dec 2006 Posts: 177 Location: Seattle, WA
|
|
|
|
Pardon my simplicity, but since the abend refers to a duplicate key condition, it seems to follow that you may want to check for that condition in the program...perhaps something along the lines of
Code: |
EXEC CICS
HANDLE ABEND option [(label)] .....
END-EXEC.
|
Or maybe even a check for duplicate key condition (AKA DUPREC?) and handling it within the program rather than allowing it to abend, since that is the default condition that you are obviously hitting.
Does any of this sound familiar? Programming 101.
If you want more specifics, send me your salary and I'll code it for you. |
|
Back to top |
|
|
nprathap4u
New User
Joined: 24 Apr 2007 Posts: 15 Location: India
|
|
|
|
R u using VSAM file..?
If so, it is nothing but duplicate key violation.
U can handle it by using DFHRESP also. |
|
Back to top |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
fix the source code causing the abend problem, or send the code
to socker-dad along with a check and he will fix for you.
you could intercept the abend in DFHPEP and suppress the CICS dump,
but your Java application will still receive an' abend code.
why not just have your Java application respond with "duplicate"
key , please resubmit" message whenever it receives the AEIO from
CICS program? |
|
Back to top |
|
|
lalit.bakde
New User
Joined: 12 Jul 2006 Posts: 7
|
|
|
|
Thanks to all
This issue is resolved.
Regards,
Lalit |
|
Back to top |
|
|
|