View previous topic :: View next topic
|
Author |
Message |
nileshyp
New User
Joined: 22 Jun 2005 Posts: 65 Location: Mumbai
|
|
|
|
My program is abending as I am getting file status code of 35 in called program. When I checked the file looks to be present. I am not sure why
I am not sure why i am getting the error as dataset is also opened as INPUT in called program which is perfectly alright.
Kindly advise if there is any workaround.
explained above scenario in detail as below :
My program is PROG A
PROG A calling PROG B for getting some info
PROG B has dataset called "ACTRNGIP"
When I run my program ie. PROG A
I get below error display
"ACTRNGIP - OPEN PROBLEM FILE STATUS = 35" |
|
Back to top |
|
|
sureshmanokar
New User
Joined: 21 Dec 2010 Posts: 11 Location: Bangalore
|
|
|
|
Is it a VSAM file? If it is a VSAM the file may be EMPTY. The File status will be '35' even if the program tries to access a empty file. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
File Status Codes
Quote: |
An OPEN statement with the INPUT, I-O, or EXTEND phrase was attempted on a non-optional file that was not present.
|
you tried to open an file that does not exist.
simple as that.
proof your
jcl dd statements,
or if you are using dynamic allocation
check on your file name parm.
I don't think you will get a 35 on an open for an empty vsam.
you will probably recieve an error on a read of an empty vsam. |
|
Back to top |
|
|
sureshmanokar
New User
Joined: 21 Dec 2010 Posts: 11 Location: Bangalore
|
|
|
|
Yeah, i accept it. I thought he may be correct eith the DD name.
FILE STATUS 35:-
ATEMPTING TO OPEN AN EMPTY FILE IN INPUT OR I/O MODE. DD NAME
IS MISSING OR WRONGLY GIVEN. |
|
Back to top |
|
|
|