7.89 MENU

Note: Usage options

The MENU command is used to cause an executing RDML program to end and a re-display of the process's main menu to occur. Note that the executing function ends and the process controller receives control again.

Using the MENU command is functionally identical to using the MENU function key.

Optionally a message may be issued which will be routed back onto the process controller's message queue. This message will appear on line 22/24 when the process's main menu is (re)displayed.

Note: The MENU command indicates control should return to the last displayed process menu. This means that in non-procedural or RDMLX functions the MENU command cannot be sensibly or predicably used.

Also See

7.89.1 MENU Parameters

7.89.2 MENU Examples

                                                         Optional

 

  MENU --------- MSGTXT --------*NONE -------------------------->

                                'message text'

 

             >-- MSGID -------- *NONE -------------------------->

                                message identifier

 

             >-- MSGF --------- *NONE -------------------------->

                                message file . library name

 

             >-- MSGDTA ------- substitution variables ---------|

                              | expandable group expression |

                               --------- 20 max ------------