Four interactive functions are provided to help you to resolve problems arising from the incorrect specification of menu options. The functions can be invoked when using the Toolkit program Go to menu by entering special values into the request line at the bottom of the display:
If *DISPLAY (or *D for short) is specified on the request line prior to an option number, for example, *D 3, the request string specified for any menu option taken will be displayed as an information message on the job’s external message queue. The request string is built from the name of the program or command specified as the option action, plus any parameters that may also have been specified for the option. This enables you to examine the menu option request without executing it.
If *CHECK (or *C for short) is specified prior to the option number (for example, *CHECK 3), the request string for any menu option taken will be syntax checked by the i OS command checkers (QCMDCHK or QCACHECK according to the option type), but not actually executed.
If *MNUWRK (or *M for short) is specified on the request line, the Toolkit command Work with Menus (YWRKMNU) will be invoked for the current menu. On returning from the edit program, the menu display will be refreshed with the newly edited menu. This gives a convenient way of correcting menus in error.
If *AUT (or *A for short) is specified prior to the option number, the command Display Object Authority (DSPOBJAUT) will be invoked for the program or command specified as the option action.
Note that to be allowed to use the debug aids while displaying menus, you must specify CMDENT(*YES) on the command Go to Menu (YGO) when you enter the menu program.
|
Copyright © 2014 CA.
All rights reserved.
|
|