Create a Test Project

  1. Start Visual COBOL. If you need instructions, see To start Visual COBOL.
    Note: On Windows 8, Windows 10, and Windows Server 2012, you use the Start screen to invoke programs.

    When starting Visual Studio for the first time, you might be prompted to set the environment, depending on the Visual Studio version which is installed.

  2. If you are prompted, choose General development environment. In this setup Visual Studio is customized for work with COBOL projects.
  3. In Visual Studio, click File > New > Project.
  4. In the Create a new project dialog box, select COBOL from the Language drop-down list.
  5. Click Console Application.
  6. Type a name for the project.
  7. In the Location field, browse to the directory in which to store the project.
  8. Click Create.

    A default console application project opens, showing the stub code for Program1.cbl.

  9. 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.

The next step is to update the properties for the project.