Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us