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
 

 

What is file status 97

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
mahesh.ajagtap

New User


Joined: 30 Sep 2006
Posts: 6

PostPosted: Wed Feb 14, 2007 3:08 pm    Post subject: What is file status 97
Reply with quote

i cobol file status 97
how to slove this.....
Back to top
View user's profile Send private message

William Thompson

Global Moderator


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

PostPosted: Wed Feb 14, 2007 3:17 pm    Post subject:
Reply with quote

The Enterprise COBOL for z/OS and OS/390 Language Reference sates
Quote:
For VSAM only: OPEN statement execution successful: File integrity verified.
You do not have a problem - the 97 is the same as 00 icon_lol.gif
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Wed Feb 14, 2007 9:44 pm    Post subject: Re: file status 97
Reply with quote

mahesh.ajagtap,

The file status of '97' is caused by the VSAM file not being closed properly from the last job that had it opened (many times caused by the abend of the prior job).

When testing the file status on the 'open', as Bill said, the '97' can be treated the same as '00'. If you're using a package that is having this problem and you cannot change the code, you can do a IDCAMS VERIFY of the file prior to running the program and correct the problem.
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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