<snip> But, will the status 97 be returned regardless of whether the file is opened for Input vs. Output/Update? </snip>
Yes. The 97 basically means VSAM had to do a VERIFY on the dataset since it was not closed properly the last time it was opeened, and the VERIFY worked. VSAM for a 97 doesn't really care if you're opening the file for input, ouput, update, or I-O. Robert ---------------------------------------------------------------------- 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

