This statement indicates that the user has selected a menu option. When the value of &$MHOPT is SELECT, you can use the menu service procedure to perform any special processing that is required upon a menu option being selected.
This statement contains the following read-only variables:
This variable is set to SELECT.
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 option the user selects from the menu.
This variable is set to the relative numeric position of the selected option on the menu, as defined on the CAS : Menu Options panel.
This statement contains the following modifiable variables:
Use this variable to return the names of the input fields that contain incorrect values to the system. This variable can be set to the input fields that are in error in the form fieldname1, fieldname2...fieldnameN. The fields are placed in error status on the panel, and the cursor is located in the first field that is in error.
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:
Proceed; execute the action
Error; redisplay the menu
| Copyright © 2008 CA. All rights reserved. |
|