Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

PUIATEXRTV - Retrieve a Menu Item

Code Block
D PUIATEXRTV      PR                  ExtPgm('PUIATEXRTV')
D  iUser                       128A   Const
D  iItemCode                   128A   Const
D  oItem                              LikeDS(Item)
D  oError                         N
D  oErrorMsg                   256A

This program returns a menu item to Atrium so it can be run by the API Atrium.launchItem(itemId), an item is clicked in the search window or a favorite is selected.

It validates that the user has access to this menu item and returns the item in the data structure.