Create a Native COBOL Project

This tutorial is going to be run from within the IDE; although the program you will build will work perfectly well from the command line as well.

  1. Launch Visual COBOL for Eclipse, and select an appropriate workspace.
  2. While in the COBOL perspective, click File > New > COBOL Project.

    The New COBOL Project dialog box appears.

  3. In the Project name field, type a name for the project.
  4. Click Finish.

    The project is created, and displayed in the COBOL Explorer pane.

  5. Click File > New > COBOL Program

    The New COBOL Program dialog box appears.

  6. In the Program name field, type a name for the program.
  7. Click Finish.

    The program is created, and displayed in the COBOL Explorer pane, under the COBOL Programs sub-folder of the project folder.

  8. Double-click the program to display it, and then in the editor, delete the line goback from near the end of the program.

    Program termination steps will be added back into the source code as you work through the rest of the tutorial.