Previous Topic Next topic Print topic


Create Assignments

To enable this service interface to terminate the application as if from a terminal, we must add assignments to the Show Data operation that return the application to the DEMO91 screen -- the main menu for our application. We do this by assigning the string value X to FLD0056 and also adding an ATTENTION ID assignment for the Enter key as follows:

  1. In the Assignments pane, right-click and select New Assignment from the popup menu.
  2. From the Assign to drop-down list, click FLD0056.
  3. In the Field 1/Operand 1 field, type X, which is the value that tells the application to return to the main menu screen.
  4. Click OK.
  5. In the Assignments pane, right-click and select New Assignment from the popup menu.
  6. From the Assign to drop-down list, click ATTENTION ID.
  7. From the Field 1/Operand 1 drop-down list, click ENTER.
  8. Click OK.
  9. Save the service interface.

    This completes the Show Data operation.

Previous Topic Next topic Print topic