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
 

 

Abend while opening a sequential file with return code -35

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
shivani_jha

New User


Joined: 12 Feb 2007
Posts: 11
Location: mumbai

PostPosted: Mon Feb 26, 2007 2:02 pm    Post subject: Abend while opening a sequential file with return code -35
Reply with quote

getting abend while opening a sequential file with return code -35. unable to solve the abend. pls help
Back to top
View user's profile Send private message

prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Mon Feb 26, 2007 4:02 pm    Post subject:
Reply with quote

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
View user's profile Send private message
h.dinesh

New User


Joined: 06 Dec 2006
Posts: 46
Location: Chennai

PostPosted: Mon Feb 26, 2007 4:05 pm    Post subject:
Reply with quote

Hi,

Your question is not clear. You have got return code or file status while opening the file as 35. icon_confused.gif

Please paste the code and explain the query clearly.

Dinesh
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Feb 26, 2007 4:08 pm    Post subject:
Reply with quote

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
View user's profile Send private message
devidas-patil

New User


Joined: 08 Jan 2007
Posts: 54
Location: pune

PostPosted: Mon Feb 26, 2007 4:57 pm    Post subject:
Reply with quote

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
View user's profile Send private message
devidas-patil

New User


Joined: 08 Jan 2007
Posts: 54
Location: pune

PostPosted: Tue Feb 27, 2007 10:10 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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