Skip to Content

What are the steps to add an external tool or integrate a utility such as JDBC2FD into the isCOBOL IDE?

Estimated Reading Time: 1 Minutes

This is best illustrated with an example.

To integrate JDBC2FD with your project:

  1. Open "External Tools Configurations" (From the menubar select Run > External Tools > External Tools Configurations...)
  2. Create a new Configuration with name "jdbc2fd" (click on "Program" in the tree-view and then click the leftmost toolbar button)
  3. Set Location to your isCOBOL installation's binisrun.exe
  4. Set Working Directory to your project's cpy directory
  5. Set Arguments to "-utility JDBC2FD"
  6. Click on the Refresh tab and check "Refresh resources upon completion"
  7. (optional) Click on the Build tab and uncheck "Build before launch"
  8. Click on the Environment tab and add the database driver to your CLASSPATH
    • Click on the Select button
    • Check CLASSPATH and click OK
    • Select the CLASSPATH variable and click Edit...
    • Add a semicolon followed by the directory at the end of the Value field
  9. (optional) Click on the Common tab and put a checkmark in the box in "Display in favorites menu"
  10. "Apply" and close the window or "Run"
  11. Run the "jdbc2fd" configuration (Run - External Tools - jdbc2fd)
When the utility generates the copy files in the cpy folder specified as "Working Directory", they are automatically added to the workspace.

In the JDBC2FD utility you need to specify a driver and a connection URL. For example, to connect to Microsoft SQL Server you might use the following settings:
   Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
   URL: jdbc:sqlserver://localhost:1433;user=myuser;password=mypassword;DatabaseName=mydatabase

What are the steps to add an external tool or integrate a utility such as JDBC2FD into the isCOBOL IDE?