Creating the Model

To create a model file in your project, first create a new folder for it to go in:

  1. In the Project Explorer, right-click the ActionExample project.
  2. Click New > Folder.

    This opens the New Folder dialog box.

  3. In the Folder name field, type model.
  4. Click Finish.
  5. To view this new folder:
    1. Click View Menu View Menu, and then click Filters and Customization.

      This opens the Filters and Customization dialog box.

    2. In the Filters tab, uncheck Empty folders outside categories.
    3. Click OK.
  6. Expand the InternalVCProject project.
  7. Right-click IntegratedVCModel.model, and then click Copy.
    Note: If the IntegratedVCModel.model is not present in the InternalTDProject folder, then in Application Explorer view, right-click Visual COBOL Projects folder under the Visual COBOL system, and then click Load Application.
  8. In the ActionExample project, right-click the model folder, and then click Paste.
  9. Right-click IntegratedVCModel.model, and then click Rename.

    This opens the Rename Resource dialog box.

  10. In the New name field, type CustomizedIntegratedVCModel.model.
  11. Click OK.
  12. Right-click in the Application Explorer view, and then click Add System(s).

    This opens the Add System(s) dialog box.

  13. Click Custom System.
  14. Click OK.

    This opens the Custom AWM System dialog box.

  15. In the System Name field, type Action Example.
  16. Click Next.
  17. Next to the Location field, click Browse and navigate to the CustomizedIntegratedVCModel.model, and then click OK.

    The Application Name field is automatically populated with text derived from the application name.

  18. Click Finish.
  19. Expand the new custom system.
  20. Right-click the CustomizedIntegratedVCModel application, and then click Open Model.