CHAIN_MENUS

When this variable is set to 1 (on, true, yes), the runtime system automatically destroys any menu displayed by a program performing a CHAIN or CALL PROGRAM. This destruction is accomplished with the WMENU-DESTROY-DELAYED operation of the W$MENU library routine. The effect is that the menu is not actually destroyed until the chained-to program displays a new menu. Setting this variable to 0 (off, false, no) inhibits the destruction of the menu. The default value is off.