Previous Topic: Menu Line Edit CommandsNext Topic: Exiting the Work with Menus Program


Syntax Checking on Menu Option Details

For each option, you can specify the name of the menu, command, or program to be executed when the option is taken. Execution parameters may be specified for the command or program if appropriate.

The command prompter Command prompter can be invoked (by pressing F04) to prompt the parameters for an option, and to check that a valid request has been coded. The syntax checker will parse the specified request string and diagnose syntax errors, without actually executing the option. If the option is of type CMD the request string will be checked with the i OS QCMDCHK program. If the option is of type C38 the request string will be checked with the S/38E program QCACHECK.

You can display or edit which user profiles are authorized to use the program or command specified for the menu option by pressing F05. The Display/Edit object authority (DSPOBJAUT) display will be shown.

You can select the menu title line for detailed editing by placing a Z in the selection column on the title line; the menu title display allows you to specify menu level details, such as the menu type, and the initial program for the menu (if any).

The display attributes or colors specified for a menu title control the display attributes or colors used for the title line and the command line of Toolkit menus. You may use this facility to override the shipped defaults (green, reverse image).