× 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 24-May-2017 13:38 -0600, Glenn Gundermann wrote:

This has me stymied. This program runs 50 times a day and it has had
an error 8 times in the last 4 weeks. It is getting RNQ1221 on the
delete: Update or delete in file SMWSHPPL without prior input
operation (C G D F).

fSMWSHPPL UF E K Disk

read smwshppl;
dow not %eof(smwshppl);
// some external call
delete RWSHPPL;
read smwshppl;
endDo;

*inlr = *on;
return;

Any ideas?


First thing I would do, is review the joblog for errors; e.g. any error(s) that precede(s) the msg RNQ1221.? The message means that the update capable ODP no longer has position to a record for which an update lock is held; e.g. the lock has been released, explicitly per release, or implicitly per change in position without also obtaining a record lock. If no errors, then I would expect that most likely, the external call [as broehmer alluded] was responsible for losing the position and/or record lock.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.