This statement indicates that a menu is terminating. When the value of &$MHOPT is EXIT, you can use the menu service procedure to perform any special processing that is required on the termination of the menu.
This statement contains the following read-only variables:
This variable is set to EXIT.
This variable is set to the ID of the application to which the menu belongs.
This variable is set to the menu number.
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:
Proceed; exit from the menu
Do not exit; redisplay the menu
| Copyright © 2008 CA. All rights reserved. |
|