MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Regarding S0C7

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
DearAndy
Beginner


Joined: 20 Feb 2005
Posts: 2
Topics: 2

PostPosted: Wed Apr 13, 2005 3:06 am    Post subject: Regarding S0C7 Reply with quote

Hi,

I get the below abend message for S0C7.

CEE3207S
The system detected a data exception (System Completion code=0C7).
From compile unit B903 at entry point B903 at compile unit
offset +00000C0E at entry offset +00000C0E at address 0BB07596.

I compiled the program using the LIST compiler option and found the abend location as below:

003611 PERFORM
000C08 D203 D16C D114 MVC 364(4,13),276(13)
000C0E 4120 B61E LA 2,1566(0,11)
000C12 5020 D114 ST 2,276(0,13)
000C16 47F0 B62C BC 15,1580(0,11)
000C1A GN=80 EQU *

Unfortunately LA is Load Adress instruction I do not know why the program is abending in this location. Can somebody throw light on this?

Thanks,Andy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Apr 13, 2005 7:24 am    Post subject: Reply with quote

Dearandy,

The PERFORM statement is causing the S0c7 error. Also this topic has been discussed many times.Please search before posting. check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=214

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hilltop
Beginner


Joined: 14 Oct 2004
Posts: 62
Topics: 21

PostPosted: Wed Apr 20, 2005 4:18 am    Post subject: Reply with quote

Hi Board,

I got SOC7 in one of my program and I need your assistance in solving the problem.

I am running a composite program ACSI2001 which has list of programs:
INCLUDE SYSLIB(ASMTDLI)
INCLUDE SYSLIB(AGYSC100)
INCLUDE SYSLIB(AGYSC101)
INCLUDE SYSLIB(AGYSC102)
INCLUDE SYSLIB(AGYSC106)
INCLUDE SYSLIB(AGYSC110)
INCLUDE SYSLIB(AGYSC120)
INCLUDE SYSLIB(AGYSC130)
INCLUDE SYSLIB(AGYSC140)
INCLUDE SYSLIB(AGYSC141)
INCLUDE SYSLIB(AGYSC200)
INCLUDE SYSLIB(AGYSC220)
INCLUDE SYSLIB(AGYSC230)
INCLUDE SYSLIB(AGYSC231)
INCLUDE SYSLIB(AGYSC232)
INCLUDE SYSLIB(AGYSC290)
INCLUDE SYSLIB(AGYSC300)
INCLUDE SYSLIB(AGYSC320)
INCLUDE SYSLIB(AGYSC321)
INCLUDE SYSLIB(AGYSC325)
INCLUDE SYSLIB(AGYSC330)
INCLUDE SYSLIB(AGYSC340)
INCLUDE SYSLIB(AGYSC350)
INCLUDE SYSLIB(AGYSC360)
INCLUDE SYSLIB(AGYSC370)
INCLUDE SYSLIB(AGYSC910)
INCLUDE SYSLIB(AGYSC920)
INCLUDE SYSLIB(AGYSCRDC)
INCLUDE SYSLIB(AGYSABND)
INCLUDE PRODLIB(BISRCH)
INCLUDE PRODLIB(DUTSID00)
INCLUDE PRODLIB(DATECVT)
INCLUDE PRODLIB(SNAP)
INCLUDE PRODLIB(ABEND)
ENTRY DLITASM
NAME ACSI2001(R)

This is the abend dumb:

JOB RGYID20C STEP PS20 TIME 044857 DATE 05110 ID = 000
COMPLETION CODE SYSTEM = 0C7 REASON CODE = 00000000

PSW AT ENTRY TO ABEND 078D3000 00103182 ILC 06 INTC 0007
PSW LOAD MODULE ADDRESS = 000FBAC8 OFFSET = 000076BA
NAME=ACSI2001

I am new to Assembler even in my team there is no one who know assembler.

Any comments greatly appreciated.

Thanks.
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Wed Apr 20, 2005 5:46 am    Post subject: Reply with quote

I don't think there's anyone on this board that can tell you very much given that information.

You have an error at address 00103182, actually 6 bytes in front of that, I'd say. The instruction causing the problem is 6 bytes long, which is consistent with it being a decimal instruction.

00103182 equates to an offset of 76BA from the start of ACSI2001, which is at FBAC8. If it's not obvious from the dump which module that's in, you may need to refer to a link map.

It may be obvious from the instruction itself ,by checking the data pointed to by the base register(s) and displacements, which field is in error.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
Hilltop
Beginner


Joined: 14 Oct 2004
Posts: 62
Topics: 21

PostPosted: Wed Apr 20, 2005 8:26 am    Post subject: Reply with quote

Hi Merv,

Would you please guide me how to refer link map and also about base register(s) and displacements.

I am new to sysdump and assembler, Please bear with me.

Thanks.
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Wed Apr 20, 2005 8:53 am    Post subject: Reply with quote

Hilltop, there are some things you can't fix in a Forum!

The link map is printed in your linkedit (aka Bind) step, provided your program options are set correctly (something like LET,LIST,XREF, I think). It will give you the offset of each CSECT in your load module. If you have FileAid, you may be able to get the information from option 3.1

Base and displacement are fundamental to assembler programming. If you don't understand, and your colleagues are assembler illiterate, you may find your systems programmers are able to help. The key manual is here:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dz9zr003/CCONTENTS


You may need to re-link your program, then rerun after adding //SYSUDUMP DD * to your rundeck, in order to obtain the information you need.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group