|
if you add the (e) extender, you still can trap the error with the monitorOops, sorry, the (e) extender should not be there on the READE. I originally thought of just using (e), but then I realized that would catch all errors, which would be a larger change than just handing the lock-error. But when I changed to use MONITOR, I forgot to remove the (e).
group?!
monitor;
reade(e) key file;
ok = *on;
on-error 1218: // record lock
// try again
endmon;
I thought you need to check the %Status if the E-Extender is set.
ReadE(e) Key File;
If %Status = '1218'; // Record Lock
//Error lock - Do something
EndIf;
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.