IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SYSTEM = 0C4 REASON CODE = 00000004


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Tue Nov 25, 2008 11:12 am
Reply with quote

Hi,
what i had done was, there was an existing program to create an output file based on some conditions from input file. i am creating one more output file from the same input file. i had coded the conditions to the existing program and i executed the job.The abend i am getting is

ABEND: SYSTEM = 0C4 REASON CODE = 00000004

i checked for the file status of the o/p file and it is fine.

i checked in the JESSYSMGS in the spool, and there was this thing,
ABONL-23: UNABLE TO DETERMINE REPORT DATASET FILE TYPE

can anyone please help?
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Tue Nov 25, 2008 12:42 pm
Reply with quote

can anyone please tell what is the solution for this error having the following message:


0C4 The program attempts to use storage that is not accessible.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Tue Nov 25, 2008 1:15 pm
Reply with quote

Hi,

This
Quote:
ABONL-23: UNABLE TO DETERMINE REPORT DATASET FILE TYPE
looks like a user abend coded in program, may be checking the program for when above "happens" would help.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Tue Nov 25, 2008 1:22 pm
Reply with quote

Hi,

And please post the full SYSOUT of failed JOB.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue Nov 25, 2008 6:16 pm
Reply with quote

Quote:
can anyone please tell what is the solution for this error having the following message:


0C4 The program attempts to use storage that is not accessible.
Broadly speaking, the S0C4 means your program attempted to use memory it should not have tried to use. This could be due to such things as
Quote:
- Missing or incorrect DD statement -
Check system messages from abending step.

- Tried to reference record area before file opened.

- Indexing or subscripting outside defined limits.

- Linkage section incorrectly placed or omitted.

- Linkage section referenced without coding using
clause on 'PROCEDURE DIVISION' or 'ENTRY'
statement.

- Mismatched parameter list between calling program
and subroutine.

- STOP RUN or GOBACK used in sort input procedure or
output procedure.

- PERFORM or GOTO outside of section from sort input
procedure or output procedure.
Since there are so many possible causes, there is no cookbook approach to resolving a S0C4. You have to think about what the error messages tell you, possibly read the dump, and follow the leads provided by the computer to resolve the issue. The key thing is the thinking phase.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts System add a USER parm when job submi... TSO/ISPF 4
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Reorg abended with REASON=X'00E40347' DB2 2
Search our Forums:

Back to Top