× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 2018-10-26 1:18 PM, Birgitta Hauser wrote:

if you add the (e) extender, you still can trap the error with the monitor
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;

Oops, 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).

(You're right, you do need to check %status if you use the E-extender.)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.