PERFORM RMP--DMO-PANELNAME
This standard runtime function disables a command on a pulldown menu. It does not apply to menu titles. The command appears on the menu with the disabled attribute, but the user is not able to select it.
The application program must set the name of the menu item to be disabled in RMP--COMMAND-NAME.
None.
An inverse standard runtime function, ENABLE MENU OPTION is also available.
Status value | Description |
---|---|
0 | The function executed successfully. |
5 | The panel is not in this library |
6 | The library does not exist. |
14 | A COBOL input/output error was encountered on the panel library during execution of this function. To determine the exact nature of the I/O error, use the C$RERR subprogram. |
20 | The menu command name is invalid. |