Previous Topic Next topic Print topic


Exit Gracefully Operation

In this operation, we supply the application with a value of E (for exit) for the main menu's FUNCTION CODE field (FLD0003).

  1. Click Operation > New.
  2. In the Operation Name field, type Exit Gracefully.
  3. From the Active Screen drop-down list, click DEMO91. This is the name of the details screen of the application.
  4. From the Previous Screen drop-down list, click DEMO92 to establish that the path to the active screen is through the DEM092 screen.
  5. Leave the Transaction ID field blank.
  6. Leave Create Default Mapping unchecked.
  7. Click OK. The IMS Screen pane now shows the DEMO91 screen.
  8. In the Assignments pane, right-click and select New Assignment from the popup menu.
  9. From the Assign to drop-down list, click FLD0003.
  10. In the Field 1/Operand 1 field, type E, which is the value that tells the application to exit.
  11. Click OK.
  12. In the Assignments pane, right-click and select New Assignment from the popup menu.
  13. From the Assign to drop-down list, click ATTENTION ID.
  14. From the Field 1/Operand 1 drop-down list, click ENTER.
  15. Click OK.
  16. Save the service interface.

    This completes the Exit Gracefully operation.

Previous Topic Next topic Print topic