Page 1 of 1

Need help for debugging a program

PostPosted: Fri Sep 21, 2012 11:18 am
by jyothp12
I have production job abend and this is the first time I am checking this job and program.

Job abended with :
CEE3250C The system or user abend U2022 R=00000000 was issued.
From compile unit EOJ at entry point EOJ at compile unit offset +000006E0 at address 23089970.

It was an user abend 2022 and the display in sysout was " count mismatch between input file & the count inserted/updated in the table".

I know the input file count. Is it possible to find out the value of insrt/update count from CEEDUMP ?

and I have 1 more question:

In the beginning of working storage section of program its given as
*******************************************
* SAVE WORKING STORAGE FOR SMART/RESTART
*******************************************
EXEC SRS
BEGIN SAVE
END-EXEC.

and in the end of working storage its given as

**********************************************
* END SAVE WORKING STORAGE FOR SMART/RESTART
**********************************************
EXEC SRS
END SAVE
END-EXEC.
**********************************************

will this store working storage values if job abends? If job abended and restarted, will the count values will be the same as when job abended?
this is the first time I am seeing EXEC SRS.

Please reply..
Thanks in Advance !!

Re: Need help for debugging a program

PostPosted: Fri Sep 21, 2012 11:44 am
by NicC
What do the people who wrote the program have to say? What does the program documentation say? What do your co-workers say? We have no idea about your program and what it does so why ask us?

Re: Need help for debugging a program

PostPosted: Fri Sep 21, 2012 11:56 am
by jyothp12
The program written date is in 2003 .I don't know about the programmer and there are no documents for this program.
The program insert/update DB2 table with the records from the input file.

I was asking :

1. Is there any way to find out the working storage count value from CEEDUMP ?
2. What is the function/usage of EXEC SRS ?

Re: Need help for debugging a program

PostPosted: Fri Sep 21, 2012 1:17 pm
by BillyBoyo
1. Yes
2. Ask at your site. Nothing comes up on the Googles I tried, so probably locally-written

Re: Need help for debugging a program

PostPosted: Fri Sep 21, 2012 3:17 pm
by Robert Sample
On z/OS, SMART/RESTART appears to be a vendor package for checkpoints. You may want to contact the vendor to get documentation (hint: Google is your friend. Googling smart restart will return the vendor web page) if you cannot find the documentation at your site.