7 69 2 MENU Examples

LANSA Technical

7.69.2 MENU Examples

Example 1: End a function and re-display the process menu:

MENU    MSGTXT('Previous function ended at user request')
 

Example 2: Cause a function to end and the process main menu to be re-displayed with message details from an IBM i message file:

MENU  MSGID(USR0046) MSGF(QUSRMSG)
 

IBM i only:

MENU  MSGID(USR0167) MSGF(QUSRMSG.*LIBL)

 

MENU  MSGID(USR8046) MSGF(QUSRMSG.USERLIB01)