View previous topic :: View next topic
|
Author |
Message |
mahesh.ajagtap
New User
Joined: 30 Sep 2006 Posts: 6
|
|
|
|
i cobol file status 97
how to slove this..... |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
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 |
|
|
|