View previous topic :: View next topic
|
Author |
Message |
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
And please post the full SYSOUT of failed JOB. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|