|
This is how I think of it: SetLL is "Set Lower Limit" not "Set at a record". The SETLL opcode does not really care if a record exists or not, only if it can get Lower or Equal to factor 1. If it can do that, then it has succeeded and would consider itself as "%found". _______________________ Booth Martin boothm@earth.goddard.edu http://www.spy.net/~booth _______________________ "Peter Dow" <pcdow@yahoo.com> Sent by: owner-rpg400-l@midrange.com 04/20/2000 01:37 PM Please respond to RPG400-L To: <RPG400-L@midrange.com> cc: Subject: Re: R: RPG Indicators Hi Jon, I just ran into this yesterday. When using SETLL to determine if a particular key exists, using %found doesn't do it. You *have* to use the equals indicator. %found will return true if an exact or generic match is found, even if the equals indicator only is specified. Peter Dow Dow Software Services, Inc. 909 425-0194 voice 909 425-0196 fax +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.