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
 

 

SYSTEM = 0C4 REASON CODE = 00000004

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: SYSTEM = 0C4 REASON CODE = 00000004
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    Post subject:
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

Senior Member


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

PostPosted: Tue Nov 25, 2008 1:15 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Nov 25, 2008 1:22 pm    Post subject:
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: 7996
Location: Bellevue, IA

PostPosted: Tue Nov 25, 2008 6:16 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm


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