Q
Problem solve Get help with specific problems with your technologies, process and projects.

How can I use the %WLDCRD command?

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

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close