APPX Software Library

Section 6: Menu Processes

Menu Processes

Item 6.1

Conversion Bug (flagged in V05): The SP2 built-in function BEGIN LIVE OPNS is converted to use the predefined subroutine --- BEGIN LIVE OPERATIONS but needs attention in order to call the proper menu. (See item 7.15 for how to handle use on a job step.)

If used directly as a menu item (assuming the menu is only one level deep in the application), from the menu item optional process change the AA parent disposition from NORMAL to END AFTER (Invocation Type is SUBPROCESS) and modify code in Post Invocation to read:

MENU     aaa                              DETACHED     END? N  FAIL 0

Delete the code to set --- NEXT APPLICATION and --- NEXT PROCESS to blanks.

Item 6.2

Difference (flagged in V05): Since APPX navigation differs from SP2, text on APPX menu screens should be changed accordingly. Change "ENTER" or "RETURN" to "END". (See item 2.14.)

Item 6.3

Note (flagged in V05): The conversion program has an option to delete menu item #n where #n is operator-entered to represent the number normally used to return to the previous menu (usually #0 for ENTER/RETURN or #16). If menu item #n does not call a menu, the item is not deleted. If menu item #0 was specified and text has been modified to change "ENTER" or "RETURN" to "END" (see item 6.2), an APPX menu may be left with a menu item #0 that has no corresponding text. If so, decide whether to add text for "0) ..." or to intercept END in Option Intercept.

Item 6.4

Difference (flagged in V05): Since "PF" terminology is not applicable in APPX, modify "PF" text as appropriate. (Addressed by item 2.14.)

Item 6.5

Conversion Bug/Difference (flagged in V05): If the company is specified, the SP2 built-in function SELECT COMPANY should be converted to the APPX predefined subroutine SELECT DATABASE, not the APPX predefined input process SELECT DATABASE. Beware other issues too (see items 7.3 and 8.14). (Should this only be used on the initial menu? Add MENU statement in Post Invocation?)

Item 6.6

Conversion Bug/Difference (flagged in V05): The SP2 built-in function END APPLICATION is not needed in APPX. (See item 7.16.)

Item 6.7

Note (fixed and flagged in V05): It is usually desirable to set Cancel Disposition to CANCEL PARENT if the menu item is calling a menu in the same application or the cancel menu.