Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to find the line no. using OFFSET for SOC4 abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
gvel19

New User


Joined: 20 Jul 2008
Posts: 19
Location: Schenactady, US

PostPosted: Thu Sep 18, 2008 5:48 pm    Post subject: How to find the line no. using OFFSET for SOC4 abend
Reply with quote

I got a SOC4 abend for a program.How do I find the line no. where the error has occured using
1) OFFSET
2) PSW
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Thu Sep 18, 2008 9:15 pm    Post subject:
Reply with quote

Hello,

A good place to start is with your peers and find out which diagnostic tools are available for use on your system.

Look at your link edit and make sure there are no missing module warnings.

Does this program use an internal sort?
Back to top
View user's profile Send private message
gvel19

New User


Joined: 20 Jul 2008
Posts: 19
Location: Schenactady, US

PostPosted: Fri Sep 19, 2008 2:27 pm    Post subject: Reply to: How to find the line no. using OFFSET for SOC4 abe
Reply with quote

I'm not getting any warnings in my Link edit. I would like to find the error that has occurred in a particular line number in the program using the OFFSET address that is present in the DUMP (or) PSW present in the DUMP.
Back to top
View user's profile Send private message
birdy K

New User


Joined: 05 Mar 2008
Posts: 72
Location: chennai

PostPosted: Fri Sep 19, 2008 2:43 pm    Post subject:
Reply with quote

When you get the offset, look the offset in compiled step. Offset entries will be there when that option is included in compilation. If the option is on , You can check the line number using offset in compiled job. The exact offset will not be there U have to relate with other offset also. Corrections are welcome.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7932
Location: Bellevue, IA

PostPosted: Fri Sep 19, 2008 5:13 pm    Post subject:
Reply with quote

When you compile your program, ensure you use either OFFSET or LIST to get the offsets in the program of the various PROCEDURE DIVISION verbs. You can then use the compile output to correlate to the dump and find the statement in error.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us