IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

file control other than using file status


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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: 237
Location: USA

PostPosted: Sun Jun 05, 2005 2:38 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top