In this operation, we supply the application with a value of
E (for exit) for the main menu's
FUNCTION CODE field (FLD0003).
- Click
Operation >
New.
- In the
Operation Name field, type
Exit Gracefully.
- From the
Active Screen drop-down list, click
DEMO91. This is the name of the details screen of the application.
- From the
Previous Screen drop-down list, click
DEMO92 to establish that the path to the active screen is through the
DEM092 screen.
- Leave the
Transaction ID field blank.
- Leave
Create Default Mappings unchecked.
- Click
OK. The
IMS Screen pane now shows the DEMO91 screen.
- In the
Assignments pane, right-click and select
New Assignment from the popup menu.
- From the
Assign to drop-down list, click
FLD0003.
- In the
Field 1/Operand 1 field, type
E, which is the value that tells the application to exit.
- Click
OK.
- In the
Assignments pane, right-click and select
New Assignment from the popup menu.
- From the
Assign to drop-down list, click
ATTENTION ID.
- From the
Field 1/Operand 1 drop-down list, click
ENTER.
- Click
OK.
- Save the service interface.
This completes the Exit Gracefully operation.