Previous Topic Next topic Print topic


Creating Applications Using Enterprise Developer for Visual Studio

These are the basic steps for creating applications in Enterprise Developer for Visual Studio:

  1. Create a project:
    1. Click File > New > Project.
    2. Expand COBOLor PL/I in the Installed Templates pane.
    3. Click a category in the Installed Templates - for example, Native, Managed, or Web.
    4. Click one of the available project templates.
    5. Specify a name, location, and solution name, and click OK.
  2. Add files to the project:
    1. Right-click the project in Solution Explorer and click Add > New Item or Add > Existing Item to either create new files or to add existing ones.

      If you are adding existing COBOL source files, you can use Add Existing COBOL Items. The IDE then scans the files to determine what Compiler directives they require and automatically sets the directives on them.

  3. Optionally, add folders to the projects, if needed, using the Add > New Folder context menu command.

    If a folder contains copybooks, include or macro files, you need to add it to the Dependency Paths of the project as the folder is not added automatically to these paths - right-click the folder in Solution Explorer, click Add and then click Add Folder to Copybook Paths or another appropriate command:

    • Add Folder to Assembler Macro Paths
    • Add Folder to IMS Copy Paths
    • Add Folder to PL/I Include Paths
  4. Configure the project's properties:
    1. Click Project > MyProject Properties.
    2. Click the tab on the left-hand side to set build and debug Compiler directives and specify the output file type and location.
  5. Optionally, configure any file settings - right-click a file in Solution Explorer and click Properties.
  6. Build your project or the entire solution - click Build > Solution or Build > Build MyProject.
  7. If your application needs an enterprise server to run, create a server instance and associate the project with it:
    1. In Server Explorer, expand Micro Focus Servers, and then expand localhost.
    2. Right-click the enterprise server you are going to use with your application, and click Associate with project > MyProject.
  8. Debug the project - click Debug > Start Debugging.
Previous Topic Next topic Print topic