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

Not finding offset value in the SYSOUT


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
subarna roy

New User


Joined: 07 Dec 2007
Posts: 16
Location: mumbai

PostPosted: Fri Dec 07, 2007 12:11 am
Reply with quote

When a program abends, the offset value is found in the joblog itself but while I am searching that offset value in the SYSOUT (during compilation) I'm not able to find it.
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 Dec 07, 2007 12:16 am
Reply with quote

Hello,

The exact offset value may not be in the compile output. This happens often when the source statement generates multiple assembler instructions and the abend occurs on other than the first instruction that was generated.

If you have the offset, look for the source statement immediately before that offset address and look at the values in the fields used in that source statement.
Back to top
View user's profile Send private message
subarna roy

New User


Joined: 07 Dec 2007
Posts: 16
Location: mumbai

PostPosted: Fri Dec 07, 2007 12:29 am
Reply with quote

hi dick
actually i got the offset value in the joblog as 1F5C.
So i need to search the nearest value of this n the SYSUT?
and need to look into the corresponding source statement?
please confirm.
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 Dec 07, 2007 12:38 am
Reply with quote

Hello,

Quote:
So i need to search the nearest value of this n the SYSUT?
and need to look into the corresponding source statement?
Yes, in the output from the compile.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Dec 31, 2007 10:02 pm
Reply with quote

Or you can use compile options - NOOFF,LIST. These will provide a "findable" OFFSET for every abend.

Most COBOL stmts generate multiple Assembler insructions.
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts Finding faulty logic Subscript out of... COBOL Programming 5
Search our Forums:

Back to Top