Previous Topic Next topic Print topic


Create and Define the Delete Operation

  1. Create a new operation named Delete that uses the book entry point.

    Reusable fields you created in a different operation remain visible for all operations.

  2. 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.
  3. 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.
  4. Drag lnk_b_details from the Reusable Fields pane to the Interface Fields pane and rename the new interface field delete_input.
  5. Save the service interface.

    This completes the Delete operation and the ProgramEJB service interface definition..

  6. Close the Service Interfaces Editor.
Previous Topic Next topic Print topic