Re: Retrieving query specifications programmatically for search capabilities

You can retrieve the query definitions by using the RTVQMQRY command with ALWQRYDFN(*YES). Too bad that no generic...

names are allowed on this command. I have a user-defined option in PDM to retrieve a bunch of definitions into a single source file, and then use the "25" option (fndstrpdm) to search for files, fields etc.


RTVQMQRY QMQRY(qry_library/qry_name) 
            SRCFILE(src_lib/member) 
         ALWQRYDFN(*YES) 
This was last published in May 2001

Dig Deeper on RPG iSeries programming

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close