Abend S0C4

Queries about Compuware’s Debugging Tools: Abend-AID for COBOL, PL/I, Assembler, CICS, DB2, IMS and IDMS

Abend S0C4

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

What is abend S0c4?
how i can avoid this?
Posts: 1
Joined: Sun Dec 26, 2010 5:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Abend S0C4


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.
Global moderator
Posts: 2849
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 121 times

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.
Global moderator
Posts: 1983
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 215 times

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,
User avatar
dick scherrer
Global moderator
Posts: 6269
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Return to Abend-AID


  • Related topics
    Last post