If you had Mike Faust's GETMESSAGES subprocedure/service program and the GETMESSAGES user-defined table function defined on your system, you could do the search dynamically like this:

FROM TABLE(mylib/getMessages('QSYS ', 'QCPFMSG ')) Msgs
where upper(MSGTEXT) like '%LOGICAL%'

See: http://www.mcpressonline.com/programming/rpg/cool-things-sql-functions-and-list-apis.html

- sjl

"Dan Rasch" wrote in message news:mailman.276.1400508651.31233.midrange-l@xxxxxxxxxxxx...

Does anyone know of a method to search message files by a text string?


Dan Rasch

Return to Archive home page | Return to MIDRANGE.COM home page