Create the Add operation

First, we create the operation, giving it a name and identifying 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. From the COBOL explorer, expand IMTKTutorial > Java Interfaces.
  2. Right-click the IMTKTutorial Java interface and select New > Operation from the context menu.
  3. In the Operation name field, type Add.

    From studying the COBOL code in the application, we know that the book.cbl program performs the add record action.

  4. From the Entry point drop-down list, select BOOK.
  5. Click OK.