|
0633.00 C Eval Rc = Close(Err_Flag) 0634.00 0635.00 C If Err_Flag < 0 0636.00 C ExSr *Pssr 0637.00 C EndIf
This code is wrong. It's probably not what's causing the original problem that you posted about, but it's definitely wrong.
The above statement sets RC to -1 if an error occurred. It does not change the value of Err_Flag (in fact, it can't change it, since you should have the VALUE keyword on that parameter)
So instead of checking Err_Flag < 0, you should be checking RC < 0.In the earlier routine where you call Close(), you don't appear to check to see if it fails at all, so it could be failing and you wouldn't know about it.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.