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
 

 

file control other than using file status

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

New User


Joined: 19 May 2005
Posts: 12
Location: kolkata

PostPosted: Wed Jun 01, 2005 5:38 pm    Post subject: file control other than using file status
Reply with quote

Hi all,

This is the quetion asked in keane.
Can we control the files (VSAM or PS) other than using file status in cobol program.

Thanks & Regards
chandra
Back to top
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Jun 02, 2005 5:28 am    Post subject:
Reply with quote

As I recall, file-status is the only option for VSAM files.

With PS files, if you don't use file-status in the select stmt the pgm will abend when an error occurs executing an I/O stmt.

It used to be easy as that, but with the new LE Environments you must select the appropriate LE option to activate automatic abend processing for I/O operations.

Sorry, I don't know the LE option; you'll have to look it up.
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Sun Jun 05, 2005 2:38 am    Post subject:
Reply with quote

mouli,

I guess this is not related, but will give you some idea

Working Smarter

Hope this helps,

Regards
Mayuresh
Back to top
View user's profile Send private message
ayyappa_22523
Warnings : 2

New User


Joined: 02 Jun 2005
Posts: 36
Location: Hyderabad

PostPosted: Wed Jun 08, 2005 7:51 pm    Post subject: ayyappa
Reply with quote

file status code we r using for erroe handling when u r using vsam files

with out file satus we can't code , if u use it means it wil so errors
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