Need help for debugging a program



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Need help for debugging a program

Postby jyothp12 » Fri Sep 21, 2012 11:18 am

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 !!
jyothp12
 
Posts: 13
Joined: Thu Dec 22, 2011 12:37 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need help for debugging a program

 

Re: Need help for debugging a program

Postby NicC » Fri Sep 21, 2012 11:44 am

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?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Need help for debugging a program

Postby jyothp12 » Fri Sep 21, 2012 11:56 am

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 ?
jyothp12
 
Posts: 13
Joined: Thu Dec 22, 2011 12:37 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need help for debugging a program

Postby BillyBoyo » Fri Sep 21, 2012 1:17 pm

1. Yes
2. Ask at your site. Nothing comes up on the Googles I tried, so probably locally-written
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Need help for debugging a program

Postby Robert Sample » Fri Sep 21, 2012 3:17 pm

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.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post