|
Yes, you can. I have defined several constants in a /copy member so I can do something like: if %status(myfile) = RecordLock ... endif Scott Mildenberger > -----Original Message----- > From: Dan [mailto:dbcerpg@yahoo.com] > Sent: Tuesday, November 26, 2002 8:59 AM > To: rpg400-l@midrange.com > Subject: RE: File Exception/Error Subroutine - INFSR > > > > Carrying this a little further. Let's say there's a chain / > read on an > update file, and there's a record lock condition. Can I check %status > right after the chain or read and, if %status = 1218, process > option_to_retry routine; otherwise EXSR the file's INFSR?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.