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

What is file status 97


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Wed Feb 14, 2007 3:17 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
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
Search our Forums:

Back to Top