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 use CEEDUMP to solve S0C7

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Wed Dec 27, 2006 9:53 am    Post subject: How to use CEEDUMP to solve S0C7
Reply with quote

Hi
when am executing a program ,am getting SOC7 abend.
It shows clearly the reason for the error in Sysout but am not getting the exact place or variable name where the error occurs .it also creates the CEEDUMP.

With the help of CEEDUMP ,can we get any idea?
Both CEEDUMP and Sysout displays the error..Whats the use of CEEDUMp(is shows some offset address).
Whats the use of offset address.

Any body Clarrify this??


Thanks in advance..
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Wed Dec 27, 2006 10:03 am    Post subject:
Reply with quote

Hi There,

Please go through the attached doc
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Wed Dec 27, 2006 10:55 am    Post subject:
Reply with quote

Hi
Thanks for ur reply.It is very useful to me..But here am not using SDSF.we are using IOF.in IOF ,where we have to see the the error.

Go to complier listing (i.e. the SDSF for compile JCL)--u r specifying to see the error in the SDSF.if am using IOF,instead of this in where i have to see.
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Wed Dec 27, 2006 11:10 am    Post subject:
Reply with quote

Hi
I tried with ur program..

The error which am getting is

"Z" was not defined as a data-name. The statement was discarded.

"Y" was not defined as a data-name. The statement was discarded.

Am getting this error in SYSPRINT itself.Am not getting anything like what u told..

1 LOG *
2 JCL *
3 MESSAGES *
4 SYSPRINT COB
5 SYSPRINT LKED

After executing ,these are the five steps am getting .In SYSPRINT, am getting the error clearly.Here CEEDUMP is not creating..

Thanks ..
Bye..
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Dec 27, 2006 2:49 pm    Post subject:
Reply with quote

Try it again, the compute line is commented out, you do not need to include it in your test.
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Wed Dec 27, 2006 3:18 pm    Post subject:
Reply with quote

Hi
Thanks for ur reply..
i tried and am getting SOC7 error.i searched in complier listing (i.e. the IOF for compile JCL), but there is no string called 'HEXLOC'.


Defined Cross-reference of data names References

6 A. . . . . . . . . . . . . . . M12 13 15
7 B. . . . . . . . . . . . . . . 13 14
8 C
9 X. . . . . . . . . . . . . . . M13 16


AM getting like this(SCREEN 3), after the above lines its shows


Context usage is indicated by the letter preceding a procedure-name reference.
These letters and their meanings are:
A = ALTER (procedure-name)
D = GO TO (procedure-name) DEPENDING ON
E = End of range of (PERFORM) through (procedure-name)
G = GO TO (procedure-name)
P = PERFORM (procedure-name)
T = (ALTER) TO PROCEED TO (procedure-name)
U = USE FOR DEBUGGING (procedure-name)






i cant find the details which are present in SCREEN 4.

AM using XREF compiler option.other than that anything i have to specify additionally??

Thanks in advance

Bye..
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Dec 27, 2006 3:33 pm    Post subject:
Reply with quote

I am sorry, I rarely use a dump on a data exception other than to look at where the PSW is pointing and get the base/displacement pointing to the offending data.
Simply put, you probably have garbage in a filed you are doing some math against.
If you can't find somebody in your shop to help you read the dump, you could begin to isolate where the problem is in your code by imbeding displays in your program and noting which was the last display prior to the abend. Each time you test, you can narrow down the abend location by changing the location of the displays until you have a display on each side of a single statement and only the before one works before the abend. Then look at that statement and where the data comes from.

Good luck, and keep us posted on your progress.
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: Wed Dec 27, 2006 10:35 pm    Post subject:
Reply with quote

Hello,

You might look at your source program for any uninitialized numeric fields in your WORKING-STORAGE.

Sometimes a group move will move non-numeric values over a defined numeric field.

Often, "new" data has invalid data in what is supposed to be a numeric field.

As Bill said
Quote:
Good luck, and keep us posted on your progress
Back to top
View user's profile Send private message
sri_code

New User


Joined: 20 Nov 2006
Posts: 19
Location: india

PostPosted: Wed Dec 27, 2006 11:17 pm    Post subject: Re: How to use CEEDUMP to solve S0C7
Reply with quote

cant you use Xpeditor.........
in Xpeditor its very easy to find this... just keep the MONITOR ON and put a breakpoint at the end and run the program(F12)... it'll stop at the place where SOC7 occurs.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Dec 27, 2006 11:36 pm    Post subject:
Reply with quote

Xpeditor, we don't need no stinking Xpeditor..... icon_lol.gif (apologies to Alfonso Bedoya in Treasure of Sierra Madre)
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Thu Dec 28, 2006 10:00 am    Post subject:
Reply with quote

Hi
We have to use 'OFFSET' compiler option to display the offset(HEXLOC) address in SYSPRINT.after am using the OFFSET compiler option am getting the offset address..

Those who are getting SOC& abend,just look at the compiler option whether they using the OFFSET option or not.

Thanks for all those who are help me to solve this problem..

Thanks
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S0C7 abend not able to locate Rijit COBOL Programming 8 Wed Apr 01, 2015 4:03 pm
No new posts S0C7 Data Exception Error Niti Srivastava ABENDS & Debugging 4 Mon Feb 23, 2015 5:40 pm
No new posts S0C7 issued on a CALL statement RedDevil711 ABENDS & Debugging 8 Sun Feb 01, 2015 3:57 pm
No new posts SUM FIELDS Giving S0C7 Indrajit_57 JCL & VSAM 4 Tue Jul 01, 2014 4:01 pm
No new posts OUTREC S0C7 issue for particular scen... Skolusu DFSORT/ICETOOL 6 Fri Mar 07, 2014 1:10 pm


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