-
Launch
Enterprise Developer
for Eclipse, and select an appropriate workspace.
-
While in the COBOL perspective, click
.
The
New COBOL Project dialog box appears.
-
In the
Project name field, type
JSONParse as a name for the project.
-
Click
Finish.
The project is created, and displayed in the COBOL Explorer pane.
-
Click
.
The
New COBOL Program dialog box appears.
-
In the
Program name field, type
JSONParse.
-
Click
Finish.
JSONParse.cbl is created, and displayed in the COBOL Explorer pane, under the COBOL Programs sub-folder of the project folder.
-
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.