Abend S0C4

Queries about Compuware’s Debugging Tools: Abend-AID for COBOL, PL/I, Assembler, CICS, DB2, IMS and IDMS
anoopt
Posts: 1
Joined: Sun Dec 26, 2010 5:23 pm
Skillset: trainee mainframe
Referer: through friends

Abend S0C4

Postby anoopt » Mon Dec 27, 2010 6:00 pm

What is abend S0c4?
how i can avoid this?

NicC
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
Referer: Google
Location: Pushing up the daisies (almost)

Re: abend

Postby NicC » Mon Dec 27, 2010 6:51 pm

Read the System Messages manual. It is what it is there for. What is the point of people writing manuals if you do not read them. You may also get info in the COBOL Language Reference manual and the COBOL Programmers and User's Guide (or similar title)
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic

steve-myers
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Skillset: Assembler, JCL, utilities
Referer: zos.efglobe.com

Re: abend

Postby steve-myers » Tue Dec 28, 2010 1:24 am

I'll give you a freebie. Look at this manual. This error is caused by an error in a program. You avoid this error by writing programs that do not have errors, and by not using programs that contain errors. There are so many ways for a program to get this error that no one can tell you how to correct this error with the information you have provided.

User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am

Re: abend

Postby dick scherrer » Tue Dec 28, 2010 1:30 am

Hello and welcome to the forum,

If your 0c4 is like many (actually almoat all) the problem is in the code which causes attempting to use memory that the code cannot use. . .

What was the last successful operation before the abend?

You might add some diagnostic code to your program to determine where the problem first occurs (not the 0c4 itself necessarily, but the code that "sets the stage" for the 0c4).
Hope this helps,
d.sch.


  • Similar Topics
    Replies
    Views
    Last post