Import and Build Sample Project

  1. Start Visual COBOL. If you are presented with the Wecome page, click Open COBOL Perspective. Alternatively, open the perspective from Window > Perspective > Open Perspective.
  2. Click File > Import.
  3. Expand General, then click Existing Projects into Workspace.
    Note: Be sure you know the location of your Eclipse workspace. The default is %USERPROFILE%\workspace.
  4. Click Next.
  5. Click Browse next to Select root directory and navigate to the DataToolsDemo samples directory installed with Visual COBOL, which by default is %PUBLIC%\Documents\Micro Focus\Visual COBOL\Samples\ClassicDataToolsDemo, then click OK.
  6. In the Projects box, ensure the ClassicDataToolsDemo project is checked.
  7. Check Copy projects into workspace, then click Finish.

    This creates a ClassicDataToolsDemo subdirectory in your workspace location, and displays the ClassicDataToolsDemo project in the COBOL Explorer.

  8. Right-click the project and select Rename, then type DataToolsDemo in the New name field and click OK. By default, Eclipse builds the project automatically and creates the dfdstaff.idy file in the New_Configuration.bin project subfolder; if it has not, on the Project menu, select Build Automatically. You will need dfdstaff.idy later in this tutorial.