Create a native COBOL project

  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 JSONParse as 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 JSONParse.
  7. Click Finish.

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

  8. Double-click JSONParse.cbl to display it, replace all the pre-defined code with the first program listed in Appendix A: The JSON PARSE program, and then press Ctrl + S to save the program.

    If your workspace is set to build automatically, the program is compiled. If the workspace is not set to build automatically, on the Project menu, click Build Project.