Create a new operation named
Delete that uses the
BOOK entry point.
Note: Reusable fields you created in a different operation remain visible in the Interface Mapper for all operations.
Create a COBOL Assignment for the
lnk-function field and set its value to
3. This is the value that instructs the program to delete a record.
Create an interface field named
lnk_file_status from the COBOL Entry Point field
link-file-status; then set the direction to
Output. This is the only required output field.
Drag
lnk_b_details from the
Reusable Fields pane to the
Interface Fields pane and rename the new interface field
delete_input.
Save the service interface.
Compare your results with those that appear on the
The Completed Delete Operation
topic; then close the Interface Mapper.