As we learned from running this application in its original form, to query the database we need to provide the application with a function code of I (for Inquire). We do this by assigning a value of I to the appropriate field.
- On the IMS Screen pane, hover over the entry field located to the right of the FUNCTION CODE label. A popup indicates that the name of this field is FLD0003. We need to know the name of this field so we can create an assignment for it.
- In the Assignments pane, right-click; then click New Assignment.
- From the Assign to drop-down list, click FLD0003.
- In the Field 1/Operand 1 field, type an upper-case I, then click OK. The Assignments pane now shows that FLD0003 is set to a value of I.