How can I use the %WLDCRD command on a field in OPNQRYF/QRYSLT? Right now my code is the following, but its not giving me the results I'm looking for. OPNQRYF FILE((*LIBL/filename)) QRYSLT('fieldname *EQ %WLDCRD("MOTOR*")') That field is 40 characters long and has many items with "Motor".
Change your code to use the '=' rather than the *EQ.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Dig Deeper on RPG iSeries programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.