Import and Build an Eclipse Project

To enable you to work on the data files for an application, you need to import the application files from the demonstration program into an Eclipse project where Eclipse builds the application automatically.

  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 ClassicDataToolsDemo 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 to your workspace location and adds the ClassicDataToolsDemo project to COBOL Explorer view. By default, Eclipse builds the project automatically and creates the dfdstaff.idy file in the New_Configuration.bin project subfolder. You use dfdstaff.idy later in this tutorial.

  8. To start Classic Data File Tools, do one of the following:
    Windows 8.1
    • From the Windows Start screen, click the Classic Data File Tools tile.
    Windows 10 and Later
    • From your Windows desktop, click Start > Micro Focus Visual COBOL > Classic Data File Tools.