On Friday 04 September 2009 02:57, Frank Swarbrick wrote: > ... this file status of 97 is the "same" as status 00, except that > status 97 indicates that not only was the file opened successfully > but an implicit VERIFY was also completed successfully.
IIRC, the STATUS 97 problem dates back to the 1990s; it did not exist in OS/VS COBOL, but I don't remember if it applied to VS COBOL II. And, as you said, this problem does not apply to VSE either but it can be a real pain, particularly when you convert from VSE to z/OS. Since 1993, I developed several solutions to fix this problem in dozens of VSE/MVS conversion projects; these solutions belong to 3 different types: 1. automatically update MVS COBOL source programs to check SK97 2. CALL a sub-routine to VERIFY VSAM data sets that need it; source-code change is optional. 3. add a utility step at the beginning of each job which will VERIFY all the VSAM files that need it; no source-code change. Type 1 is what people generally prefer, but it is costly in terms of effort, and wrong results are likely during testing and early production. Type 2 requires little work (a few hours) and works perfectly. Type 3 also works perfectly, but it requires that you modify the JCL. If you have an INCLUDE MEMBER=JOBLIB in your jobs, adding an EXEC stmt is probably not a problem. What's the best solution? Well, it depends. If you're interested, let me know ..... -- Gilbert Saint-Flour GSF Software http://gsf-soft.com/ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

