Previous Topic Next topic Print topic


Create a Project

Walks you through the process of creating a Visual COBOL project for the ScheduleDemo application and its service interface.
Restriction: This topic applies only when the Enterprise Server feature is enabled.

Create a project for your service interface, and add files to the project.

  1. From Visual COBOL, click File > New > COBOL Project.
    Note: If COBOL Project is not on the list, click File > New > Project > Micro Focus COBOL > COBOL Project; then click Next.
  2. In the Project name field, type ProgramREST.
  3. If not already checked, check Use default location; then click Finish.
    Note: If prompted to open the COBOL perspective, click Yes.

    The COBOL Explorer now shows the ProgramREST project.

  4. From the COBOL Explorer, right-click the ProgramREST project and select Import > Import from the context menu.
  5. Expand General; then double-click File System.
  6. Click the Browse button that corresponds to the From directory field, and browse to the $COBDIR/demo\Interface Mapping Toolkit\ServiceInterfaces\ScheduleDemo directory; then click OK.
  7. In the left pane, check ScheduleDemo to select all files listed in both panes.
  8. In the right pane, uncheck Readme-Ec.xml and Readme.xml. These files are used by the Samples Browser.
  9. Click Finish.

    Visual COBOL adds the files and builds the project automatically.

  10. From the COBOL Explorer, right-click the ProgramREST project; then click Properties.
  11. Expand Micro Focus > Build Configurations; then click COBOL.
  12. From the Target Type drop-down list, select All Native Library Files; then click OK.
Previous Topic Next topic Print topic