View previous topic :: View next topic
|
Author |
Message |
gvel19
New User
Joined: 20 Jul 2008 Posts: 19 Location: Schenactady, US
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
gvel19
New User
Joined: 20 Jul 2008 Posts: 19 Location: Schenactady, US
|
|
|
|
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 |
|
|
birdy K
New User
Joined: 05 Mar 2008 Posts: 72 Location: chennai
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|