Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

PUIATEXSCH – Return Menu search results

D PUIATEXSCH      PR                  ExtPgm('PUIATEXSCH')
D  iUser                       128A   Const
D  iQuery                      128A   Const
D  oError                         N
D  oErrorMsg                   256A

This program accepts a search string iQuery and returns all menu items where the item text contains the search string, and that the user has access to. The search results are written into a file ATEXSCHP in QTEMP which Atrium created and cleared ready for use.  For compiling, ATEXSCHP can found in the PROFOUNDUI library.

In order to make the search case insensitive, we suggest that you use the sql  UPPER() function and use %upper() on the search query parm.


  • No labels