View previous topic :: View next topic
|
Author |
Message |
shivani_jha
New User
Joined: 12 Feb 2007 Posts: 11 Location: mumbai
|
|
|
|
getting abend while opening a sequential file with return code -35. unable to solve the abend. pls help |
|
Back to top |
|
|
prav_06 Warnings : 1 Active User
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
|
|
|
|
shivani_jha,
Could u please let us know which mode are u trying to open the data set, Cos if ya try to open an empty d/s in i-o mode u would get this error.
Thamilzan. |
|
Back to top |
|
|
h.dinesh
New User
Joined: 06 Dec 2006 Posts: 46 Location: Chennai
|
|
|
|
Hi,
Your question is not clear. You have got return code or file status while opening the file as 35.
Please paste the code and explain the query clearly.
Dinesh |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
35 - An OPEN statement with the INPUT, I-O, or EXTEND phrase was attempted on a non-optional file that was not present. |
|
Back to top |
|
|
devidas-patil
New User
Joined: 08 Jan 2007 Posts: 54 Location: pune
|
|
|
|
Hi
i think 35 is for optional sequential file is not found means there may be misake giving the assign name and the DDNAME in the JCL. |
|
Back to top |
|
|
devidas-patil
New User
Joined: 08 Jan 2007 Posts: 54 Location: pune
|
|
|
|
Hi Another exact reason is
The correct reason for the 35 is the file is empty but we trying to open the file in INPUT or EXTENT mode. that is not possible.
if file is empty we have to use only OUTPUT mode. |
|
Back to top |
|
|
|