> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Don Leahy > Sent: Tuesday, April 15, 2008 11:07 AM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: COBOL / VSAM question. > > > On Tue, Apr 15, 2008 at 11:54 AM, Ted MacNEIL > <[EMAIL PROTECTED]> wrote: > > >> The reply from programming: "We never needed it before! Why > > > do we need it just because the VSAM file is OPEN on a > > > different system? > > > > > > What happens if the file is not closed 'cleanly' before > the job runs? > > The 97 will come up then, as well. > > > > Proper practices mean that you should handle any > contingency you are aware of. > > > An abend *is* a way of handling a contingency. The original > programmer might have wanted to investigate why the file wasn't > closed 'cleanly' before his program runs.
I'm the OP. If the programmer wanted it to abend under that condition, then he wouldn't have complained when it did. I don't know of any reason why a programmer would want to know that the file had not closed cleanly before this run. The very act of the OPEN resolves the problem and would not likely trigger any exception processing around here at least. > > The fact that file status '97' has now become 'normal' isn't the fault > of the original programmer. True. It is IBM's fault. In the deep, dark past of OS/VS COBOL 2.4, the implicit verify returned a code of 00. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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