This statement indicates that a command that is not known to the system has been issued from the menu. When the value of &$MHOPT is COMMAND, you can use the menu service procedure to perform any special processing that is required to process the command.
This statement contains the following read-only variables:
This variable is set to COMMAND.
This variable is set to the ID of the application to which the menu belongs.
This variable is set to the menu number.
This variable is set to the command.
This variable is set to the command parameters.
This statement contains the following modifiable variables:
Use this variable to return a message. If an error occurs during special processing, this variable must be set to an error message.
The variable &RETCODE must be set by the menu service procedure to one of the following return codes:
Command processed successfully
Command in error; if &SYSMSG is not set, the error message MH0003 is displayed
| Copyright © 2008 CA. All rights reserved. |
|