|
----- Message from Bill Howie <blhowie66@xxxxxxxxx> on Wed, 14 Dec<rpg400-l@xxxxxxxxxxxx>
2016 12:42:57 -0500 -----
To:
"RPG programming on the IBM i (AS/400 and iSeries)"
this:
Subject:
Re: Subfile question - Position To functionality
Jon,
Here's my definition of my array:
loc s 8 dim(1600) ascend
Here's my lookup:
eval n = %lookupgt(scpos:loc)
The "SCPOS" field, in the scenario I'm looking at, would have be like
"OVbbbbbb" where the b's are blanks. I would want to position mysubfile
to records which could have just "OV" in them, or "OVERFLOW", orare
"OVER-1AB", etc. So I'm basically entering a partial value in my search
field and I want to be able to find the array elements from there on. If
LOOKUPGT won't work I'll just go to creating a temporary file to hold my
locations. If I do that, SETLL would work in this scenario, right? We
at V5R4 FYI.
Bill
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.