Previous Topic Next topic Print topic


Import Files from the Demonstration Program

To import the files from the CICS demonstration program into your project:

  1. In the IDE, select your project in the Team Developer Tree view.
  2. Click File > Import... on the main menu.
  3. In the Import dialog, expand General, click File System and then click Next.
  4. Click Browse and navigate to the folder of the demonstration project in the install location of the samples. On Windows Vista and Windows 7, this is %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\CICS\Classic\ACCTWEB.
    Note: On older versions of Windows the samples might be installed in a different folder, such as for Windows XP, C:\Documents and Settings\All Users\Documents\Micro Focus\Enterprise Developer\Samples.
  5. Click OK.
  6. In the left hand panel, expand the ACCTWEB folder.
  7. Check the boxes next to the following folders:
    • bms
    • cbl
    • cpy
    • html
  8. Click Finish.

    This imports all required files into your project, creates the .dll, .idy and .mod files in the loadlib directory, generates a .cpy file from the BMS (this is stored in the cpy folder), and attempts to build the project; however, the build fails because the path to the generated copybook must be included in the project properties.

  9. Right-click the project name and select Properties.
  10. Expand Micro Focus, then click Build Path.
  11. On the Dependency Paths tab, choose COBOL Copybook Paths from the drop-down list, and add ACCTWEB\cpy to the path to imported copybooks.
  12. Click OK.
    Note: If a Delete User Files prompt appears, click No.

You need to create two additional folders to store the data file ACCTFIL which the ACCTWEB application uses to hold customer information. The other folder holds the CICS resource definitions required to run ACCTWEB. To create the folders:

  1. Right-click on the ACCTWEB project in the Team Developer Tree view and click New > Folder > Folder....
  2. Type data in the Folder name text field.
  3. Click Finish.
  4. Create another folder, system in the same way.
Previous Topic Next topic Print topic