Running the example application with the BMS interface
The base application can be run using the BMS interface.
Procedure
- Enter transaction EGUI from a CICS® terminal.
The example application menu is displayed:
CICS EXAMPLE CATALOG APPLICATION - Main Menu Select an action, then press ENTER Action . . . . 1. List Items 2. Order Item Number ____ 3. Exit F3=EXIT F12=CANCEL
You can list the items in the catalog, order an item, or exit the application using the options on the menu.
- Type 1 and press Enter to select
the List Items option. The application displays a list of items in the catalog.
CICS EXAMPLE CATALOG APPLICATION - Inquire Catalog Select a single item to order with /, then press ENTER Item Description Cost Order ----------------------------------------------------------------- 0010 Ball Pens Black 24pk 2.90 / 0020 Ball Pens Blue 24pk 2.90 _ 0030 Ball Pens Red 24pk 2.90 _ 0040 Ball Pens Green 24pk 2.90 _ 0050 Pencil with eraser 12pk 1.78 _ 0060 Highlighters Assorted 5pk 3.89 _ 0070 Laser Paper 28-lb 108 Bright 500/ream 7.44 _ 0080 Laser Paper 28-lb 108 Bright 2500/case 33.54 _ 0090 Blue Laser Paper 20lb 500/ream 5.35 _ 0100 Green Laser Paper 20lb 500/ream 5.35 _ 0110 IBM Network Printer 24 - Toner cart 169.56 _ 0120 Standard Diary: Week to view 8 1/4x5 3/4 25.99 _ 0130 Wall Planner: Eraseable 36x24 18.85 _ 0140 70 Sheet Hard Back wire bound notepad 5.89 _ 0150 Sticky Notes 3x3 Assorted Colors 5pk 5.35 _ F3=EXIT F7=BACK F8=FORWARD F12=CANCEL
- Type / in the Order column,
and press Enter to order an item. The application displays details of the item to be ordered.
CICS EXAMPLE CATALOG APPLICATION - Details of your order Enter order details, then press ENTER Item Description Cost Stock On Order ----------------------------------------------------------------------------- 0010 Ball Pens Black 24pk 2.90 0011 000 Order Quantity: 5 User Name: CHRISB Charge Dept: CICSDEV1 F3=EXIT F12=CANCEL
- If there is sufficient stock to fulfill the order, enter
the following information:
- Complete the Order Quantity field.
Specify the number of items you want to order.
- Complete the User Name field.
Enter a 1-to 8-character string. The base application does not check the value that is entered here.
- Complete the Charge Dept field.
Enter a 1-to 8-character string. The base application does not check the value that is entered here.
- Complete the Order Quantity field.
- Press Enter to submit the order and return to the main menu.
- Press F3 to end the applications.