View previous topic :: View next topic |
Author |
Message |
balajiraya Beginner
Joined: 14 Nov 2003 Posts: 7 Topics: 4 Location: Phoenix
|
Posted: Tue May 18, 2004 4:20 pm Post subject: ABEND handling in CICS-WEB programs |
|
|
Hi Friends,
*** This is a bit urgent ***
I have written CICS programs, which will be invoked form WEB (HTML).
Like we key data in the CICS -3270 screens, the web CICS program gets data from HTML, which is a front end in my case. If bad data is keyed, the transaction is abending with ASRA and HTML page will go to "The page cannot be displayed" error page.
As the following link says, ASRA abend cannot be handled by CICS commands, is there any other possible way to Handle this abend.
If any one can show light on this problem, it will be grate.
As I gave a search in the forum for abend handling (ASRA), the following is the link I found:
http://www.mvsforums.com/helpboards/viewtopic.php?t=528&highlight=abend+handling
Thanks,
Bala  |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
Posted: Tue May 18, 2004 9:38 pm Post subject: |
|
|
bala,
Can you perform validity check for all the input fields?
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Brian Beginner
Joined: 12 Aug 2003 Posts: 95 Topics: 6
|
Posted: Tue May 18, 2004 11:11 pm Post subject: |
|
|
Bala,
Try debugging your program using the CEDX transaction and trace the exact place where you get the abend.
I doubt if your program is abending with AWBM.
Cheers
Brian |
|
Back to top |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Wed May 19, 2004 12:07 am Post subject: |
|
|
Bala,
I once wrote some Cobol programs which were used by a WEB-CICS interface tool called MDP. I don't remember exactly but I think we used to get ASRA if there was a situation when the activated cobol program did not simulate any attention key.
An example - you are trying to do a logon and you handled the case for successful logon, invalid id/password etc but not for expired password. A badly program might not have handled any unknown situations and your program would probably give ASRA.
If you think this might be the problem then review your if's and evaluate's and see that it is prepared to handle any unknown situation.
Regards,
Diba. |
|
Back to top |
|
 |
|
|