Import the RM/Panels Source Code

  1. Ensure that the Navigator pane is selected, then drag the following files (downloaded in the previous step) into Eclipse, and drop them on the project name when the cursor changes to (Windows) or (UNIX).
    • qdemo.cbl: Main COBOL program file
    • custinfo.prc: Procedural code for the custinfo panel
    • cusinfo.ws: Data for the custinfo panel
    • message.prc: Procedural code for the message panel
    • message.ws: Data for the message panel
    • rmpanels.ws: Control data for RM/Panels

    The File Operation dialog box appears.

  2. Ensure Copy Files is selected (so that a copy of the original file is created in the project, and not simply a link to the original file inserted), then click OK.

    A copy of the files are added to the project, and if your environment is set to build automatically, the project is built. If the project does not build automatically, on the Project menu, select Build Automatically.

  3. Again, ensure that the Navigator pane is selected, then drag the following files into Eclipse, and drop them on the directory that contains the executable that has just been built, when the cursor changes to (Windows) or (UNIX).
    • ADISCTRL
    • qdemo.lib
    Note: The default directory is New_Configuration.bin, unless another directory is specified in the default Run configuration.

    The File Operation dialog box appears.

  4. Ensure Copy Files is selected again, then click OK.

    A copy of the files are added to the project's output directory.