Build and Run the Application

By default, Eclipse is set to build projects automatically (see Project menu). If there are any problems, check the Problems window: errors for the project show the name of your imported .cbl source file in the Resource column. Double-click an entry to jump to the particular area of the code in error.

To run the application from Eclipse, you need to create a launch configuration.

  1. Right-click your project in the COBOL Explorer view and select Run As > Run Configurations.

    The Run Configurations dialog box appears.

  2. Double-click COBOL Application.

    Default launch configuration details for your project are displayed.

  3. Click Run.

    The following appears:

    GUID-0FD2582B-E80E-4C7E-9DA5-82C2C1835704-low.png

  4. When you have finished viewing the demonstration, click the Close button in the top right-hand corner.
This concludes the tutorial in which we have created a project in Visual COBOL, configured it to accept RM/Panels syntax, and then run a small program that demonstrates that.