View previous topic :: View next topic
|
Author |
Message |
guruguha
New User
Joined: 02 Apr 2007 Posts: 12 Location: Chennai
|
|
|
|
Hi,
For an input file in cobol, if the input DD name in the JCL doesnt exist in the code, I expected to abend by S0C4. Instead it abended by S000 saying File status of input was 35(there was file-handling for this in the program).
My question is why when will it fail by S0c4?
Please explain abt. s0c4.
Thanks,
Karthikeyan |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
The system is not stupid. It attempted to open a file that had no DD and reported that back to the program.
What sort of 0C4 are trying to get and why? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What's a S0C4
Keeping your foot warm !!!!! |
|
Back to top |
|
|
Vineet Joshi
New User
Joined: 11 Dec 2006 Posts: 7 Location: Bhubaneswar
|
|
|
|
S0C4 means address exception error.
S0C4 is a type of abend which may occur due to the following reasons.
Bad Subscript/Index
Read/Write attempt to unopened file
Move data to/from unopened file
Missing parameters in called subprogram |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Is there some reason you expected an 0c4 when the DD was missing? Why did you have that expectation?
I'm not sure we've answered your question |
|
Back to top |
|
|
|