Import your RM/COBOL Source Code

Import one or more of your source files into the project.
Note: You may use your own source code, but for this tutorial we are going to use the sample RM/COBOL program listed in Appendix A - RM/COBOL source file.
  1. Open a plain-text editor, copy and paste the sample code in Appendix A - RM/COBOL source file into a new document.
  2. Save the file with a .cbl extension.
  3. In Solution Explorer, right-click the project name and select Add > Existing Item.
  4. Browse to the file that you created in the previous steps, select it, then click Add.
    Note: If the file is not displayed, to the right of the File name field, change the file type filter to display All Files (*.*).

    GUID-198B1CA0-F195-44CD-A798-5497C54D5993-low.png

    The file is added to the project, and is displayed in the Solution Explorer.

    Tip: You can drag the file into the project from Windows Explorer, and drop it on the project name to add it directly to the project.
  5. Click File > Save All to save the project.
The next task is to add some configuration files to the project.