IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to see abended transactions in spool


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vardhan0007

New User


Joined: 05 Jun 2006
Posts: 51
Location: Bangalore,India

PostPosted: Thu Aug 09, 2007 11:44 pm
Reply with quote

Hi,

Can anyone tell me how to see the unsuccessful/abended transactions for a particular program.

Iam getting some feilds from java application to one of my CICS program it will take the values from java ppliaction and CICS program will insert those values into db2 table. Here we are getting some error from db2. So i want to see the transaction or actual record on spool which is getting error while inserting.

Please advice.

Thanks,
Harsha
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 10, 2007 12:19 am
Reply with quote

Hello,

If the info is being presented by a CICS application, you need to look in the sysouts for the CICS environment where the transaction ran. One place to look would be MSGUSR, but looking at the other sysouts for that CICS may be helpful as well.

Many organizations have a common routine to log errors by inserting info into a db2 "error" table so that they can be later reviewed. You might ask if your site uses a common table to log such errors in addition to whatever you find in the CICS jes output.
Back to top
View user's profile Send private message
vardhan0007

New User


Joined: 05 Jun 2006
Posts: 51
Location: Bangalore,India

PostPosted: Fri Aug 10, 2007 12:40 am
Reply with quote

Hi Dick,

Thank you for reply.

We dont have any error table. And also I am not aware how to see the MSGUSR. As it is an online program , when ever a member tryies to register to site the information is passed to CICS program from some mercator calls or from java application. Then CICS will insert those member details to db2 tables. But here we are getting some exception while inserting the record and we are setting the return code to 901
( which is an 88 lever variable in the code ).

Please advice.

Thanks,
Harsha.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 10, 2007 1:14 am
Reply with quote

Hello,

Go into SDSF and display the CICS job that processed your problem transaction. One of the sysout datasets should look something like "CICSA1.CICS.MSGUSR" - you want to look for the MSGUSR dataset. You may find info in other sysout datasets as well.
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Sun Aug 12, 2007 9:03 am
Reply with quote

I'm assuming your java application is a client application invoking CICS program.

why not run through debugger software, intertest, xpeditor ?

you could also try using IBM's CEDX for debug.
OR
temp change the CICS application. If its returning you a DB2 error code, then it should be able to return you the data record it failed to insert.

ALso, there is an expensive little product called CICSNotify/Abend Email,

it can intercept CICS program abends and deliver an email
message to designated recipients, if/when the abend occurs,

go to Use [URL] BBCode for External Links >>> cics tools >> other

and no, I don't work for the vendor.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Cobol transactions in SYSVIEW COBOL Programming 0
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
No new posts Capturing logs from spool dd JCL & VSAM 6
Search our Forums:

Back to Top