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
 

 

SOC7 error, but no line number in Sysout

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: SOC7 error, but no line number in Sysout
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

Site Director


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

PostPosted: Thu Mar 05, 2009 11:13 am    Post subject:
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    Post subject: Reply to: HI All.......... SOC7 erro
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    Post subject: Reply to: SOC7 error, but no line number in Sysout
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    Post subject: Reply to: SOC7 error, but no line number in Sysout
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    Post subject: Reply to: SOC7 error, but no line number in Sysout
Reply with quote

The program is compiled with the xref list also.........
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 Mar 05, 2009 9:19 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


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