Defining a menu requires you to fill in three panels. The first of these contains menu identification and presentation details; the second defines the menu options and their corresponding actions; and the third specifies the input fields required for each menu option.
The first panel is the CAS : Menu Description panel.
PROD----------------------- CAS : Menu Description -----------------Page 1 of 3 Command ===> Function=Update Appl ID ...................+ TST Menu Number ................ 001 Menu Title ................. Test Application Menu_____________________________ Is This a Primary Menu? .... YES (YES or NO) Display Userid Info Box? ... NO_ (YES or NO) Menu Shortcut .............. Menu Service Procedure ..... ________ Top Left Corner Display .... SOLVPROD____ Top Right Corner Display ... TST001______ Menu Input Field Attributes: Mandatory Input ............ _ Optional Input ............. _ High Intenstity Output ..... _ Low Intensity Output ....... _ F1=Help F2=Split F3=File F4=Save F9=Swap F11=Page 2 F12=Cancel
For information about the fields displayed on the panel, press F1 (Help).
After completing the menu definition details, press F11 (Page 2). The CAS : Menu Options panel is displayed. Specify menu options using this panel.
PROD------------------------ CAS : Menu Options --------------------Page 2 of 3 Command ===> Function=Update Appl ID ... TST Menu Number ... 001 Opt Description Shortcut ___ 1 A__ ... Application Register______________________________ Shrvars NONE____________________________________________________________ Action EXEC $CACALL OPT=ACTION CLASS=MENU ACTION=DISPLAY_______________ NAME=’APPL=TST MENU=20’_________________________________________ ________________________________________________________________ ________________________________________________________________ ___ 2 C__ ... Common Application Services Maintenance___________ Shrvars NONE____________________________________________________________ Action EXEC $CACALL OPT=ACTION CLASS=MENU ACTION=DISPLAY_______________ NAME=’APPL=TST MENU=30’_________________________________________ ________________________________________________________________ ________________________________________________________________ F1=Help F2=Split F3=File F4=Save F7=Backward F8=Forward F9=Swap F10=Page 1 F11=Page 3 F12=Cancel
Enter the following four fields once for each option to be displayed on the menu. (You can define up to 15 options; use F8 (Forward) and F7 (Backward), to scroll between them.)
For information about the fields displayed, press F1 (Help).
If you do not want any input fields to appear on the menu, then the definition is complete when you have finished specifying the menu options. Press F3 (File) to save the menu definition.
If any of the options on your menu require data from the user, you need to define input fields. Press F10 (Page 3) to go to the CAS : Menu Input Fields panel.
PROD--------------------- CAS : Menu Input Fields -----------------Page 3 of 3 Command ===> Function=Update Appl ID ... TST Menu Number ... 001 Use the attributes below to build the field input line beneath Related Options. _=Input (Mandatory) \=Input (Optional) ยก=Output (High) ‘=Output (Low) ___ 1 Required for ... A_____________________________________________________ Optional for ... ______________________________________________________ ‘Application ID.....\#LH‘ (Required !A‘)___________________________________ ___ 2 Required for ... ______________________________________________________ Optional for ... ______________________________________________________ _______________________________________________________________________________ ___ 3 Required for ... ______________________________________________________ Optional for ... ______________________________________________________ _______________________________________________________________________________ ___ 4 Required for ... ______________________________________________________ Optional for ... ______________________________________________________ _______________________________________________________________________________ F1=Help F2=Split F3=File F4=Save F7=Backward F8=Forward F9=Swap F10=Page 2 F12=Cancel
Enter the following data on the CAS : Menu Input Fields panel to define up to 15 input fields on the menu (use F8 (Forward) and F7 (Backward) to scroll between them).
For information about the fields displayed, press F1 (Help).
The line editor commands available in the CAS : Menu Options panel are available on this panel.
After specifying the menu’s input fields, press F3 (File) to add the menu definition. To cancel the menu specification, press F12 (Cancel).
| Copyright © 2008 CA. All rights reserved. |
|