MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ABEND handling in CICS-WEB programs

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
balajiraya
Beginner


Joined: 14 Nov 2003
Posts: 7
Topics: 4
Location: Phoenix

PostPosted: Tue May 18, 2004 4:20 pm    Post subject: ABEND handling in CICS-WEB programs Reply with quote

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 Smile
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Tue May 18, 2004 9:38 pm    Post subject: Reply with quote

bala,

Can you perform validity check for all the input fields?

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Brian
Beginner


Joined: 12 Aug 2003
Posts: 95
Topics: 6

PostPosted: Tue May 18, 2004 11:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Wed May 19, 2004 12:07 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group