Previous Topic Next topic Print topic


Create the Add Operation

First, we create the operation, giving it a name and identifing the program and entry point with which we want to interact. In this case, we want to create an operation that enables us to add a record.

  1. Click Operation > New.
  2. In the Name field, type Add.

    The programs available in your Visual Studio project appear on the Select program list. From studying the COBOL code in the application, we know that the book.cbl program performs the add record action.

  3. Select book.

    The name of each entry point contained in the program appears farther down on the dialog box. This shows that Book.cbl contains only one entry point - book.

  4. From the Select entry point list, click book. The entry point code appears to its right.
  5. Click OK.

In the Service Interfaces Editor, you now see that the entry point fields have been placed into the COBOL Entry Point pane on the left.

Previous Topic Next topic Print topic