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

SOC7 error, but no line number in Sysout


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
balasu

New User


Joined: 10 Jul 2008
Posts: 23
Location: bangalore

PostPosted: Thu Mar 05, 2009 11:01 am
Reply with quote

Hi I got soc7 error while perofrming the test ran of the job. I got and offset value in the sysout output. But no line number is there in the sysout. could any one tell me how to resolve this, I verify some threads inthis forum,. But could not able to find it exactly. Do any one help meout on this........Thanks,
Bala.M icon_question.gif
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: Thu Mar 05, 2009 11:13 am
Reply with quote

Hello,

Many cobol statements generate more than one assembler instruction. The abend is most likely at some instruction that is not the very first for that statement.

Copmpare the abend offset to the offset of the cobol statements. When you find 2 statements that contain the abend offset between then, you have probably found your problem statement. From the problem instruction, look at the fields being used in the process and determine wich is invalid and why.
Back to top
View user's profile Send private message
balasu

New User


Joined: 10 Jul 2008
Posts: 23
Location: bangalore

PostPosted: Thu Mar 05, 2009 12:10 pm
Reply with quote

Dick, I got testoutput as like below:
DDNAME StepName

DDNAME StepName ProcStep DSID Owner
JESMSGLG JES2 2 APGNAN
JESJCL JES2 3 APGNAN
JESYSMSG JES2 4 APGNAN
SYSOUT STEP1 103 APGNAN
CEEDUMP STEP1 105 APGNAN
IDIREPRT STEP1 106 APGNAN


and in the sysout I got error as follows:
CEE3207S The system detected a data exception (System Completion Code=0C7).
From compile unit BAC040 at entry point BAC040 at compile unit offset +00004300 at entry offset +00004300 at
address 0000C040.

and with this offset how to find the exact line number of thes prgram which cause the abend. I tried to find the PS value in the ceedump and found as below.
Machine State:
ILC..... 0006 Interruption Code..... 0007
PSW..... 078D1000 0000C046

Please advise hot to find out the line number using this info. Also let me if any info required.
Back to top
View user's profile Send private message
balasu

New User


Joined: 10 Jul 2008
Posts: 23
Location: bangalore

PostPosted: Thu Mar 05, 2009 12:22 pm
Reply with quote

Hi the ceedump output msg are as follows:

I asked one of my collegue, he told me to find the hex value by subracting the ps value with the offset value. like ps-offset=x hex value. then convert the x hex value to decimal, and that decimal will be the line number.....like above. But still I am puzzled on that info. could any one help meout on this.
Thanks,
Bala.M
Back to top
View user's profile Send private message
Pswain_mf

New User


Joined: 02 Mar 2009
Posts: 1
Location: Bangalore

PostPosted: Thu Mar 05, 2009 12:36 pm
Reply with quote

HI,

I will suggest you to get the line no from compile listing using this offset address. provided the program has compile with XREF and LIST compiler option.
Back to top
View user's profile Send private message
balasu

New User


Joined: 10 Jul 2008
Posts: 23
Location: bangalore

PostPosted: Thu Mar 05, 2009 3:51 pm
Reply with quote

The program is compiled with the xref list also.........
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: Thu Mar 05, 2009 9:19 pm
Reply with quote

Hello,

The "screenshot" has been deleted. Please do not post screenshots as they are nearly unreadable and introduce considerable clutter. To show what is on a screen, use copy/paste and the "Code" tag.

Quote:
The program is compiled with the xref list also.........
So, did determine the abend instruction?
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
Search our Forums:

Back to Top