After playing around for this a while and not getting the LIKE to work
even though it looked like it should, I reread your post and realized I
needed to trim the trailing blanks.
And where could I do that? Right in that source Vern and a few others
said I should start using.
Very cool.
Thanks again, everyone
what a nice way to end the week.
Fran Denoncourt
Sr. Programmer/Analyst
Pinal County Treasurer's Office
Florence, AZ 85232
(520) 866-6404
Receipt of this message does not grant you permission to send me
Unsolicited Commercial Email
"BirgittaHauser" <Hauser@xxxxxxxxxxxxxxx> 12/21/2007 10:31:58 AM
Hi,
Sorry I didn't try it out and have currently no access to an iSeries.
But it should work, if you pass the parameter including the % or _
signs and
without leading or trailing blanks.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars."
(Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training
them
and keeping them!"
-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von Frances
Denoncourt
Gesendet: Friday, December 21, 2007 18:00
An: Midrange Systems Technical Discussion
Betreff: QMQRY use LIKE?
We are at V5R2M0 and do not have the full blown SQL.
I use the limited RunSQLStm with a script in a database file, though.
However, this is not my issue at the moment.
I use WRKQRY to generate queries and in this case can build a query to
receive parms from a CL as in my prior posts.
My select records screen looks like this:
RPREFA EQ :inneg
OR RPREFA EQ :inpos
OR RPPRCL EQ :inparcel
I'd like to add a LIKE statement, too. Is that possible? If so, could
you
point me to some documentation? Thanks again,
Fran Denoncourt
Sr. Programmer/Analyst
Pinal County Treasurer's Office
Florence, AZ 85232
(520) 866-6404
Receipt of this message does not grant you permission to send me
Unsolicited Commercial Email
As an Amazon Associate we earn from qualifying purchases.