View previous topic :: View next topic
|
Author |
Message |
mouli
New User
Joined: 19 May 2005 Posts: 12 Location: kolkata
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
|
|
mouli,
I guess this is not related, but will give you some idea
Working Smarter
Hope this helps,
Regards
Mayuresh |
|
Back to top |
|
|
ayyappa_22523 Warnings : 2 New User
Joined: 02 Jun 2005 Posts: 36 Location: Hyderabad
|
|
|
|
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 |
|
|
|