Previous Topic Next topic Print topic


Import the Web Client Demo Program Files

You need 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\ACCTCLNT.
    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 ACCTCLNT folder.
  7. Check the boxes next to the following folders:
    • bms
    • cbl
    • cpy
  8. Click Finish.

    This imports all required files into your project.

    By default, Eclipse builds the project automatically and this creates the .dll, .idy and .mod files in the loadlib directory. The .cpy file generated from the bms file appears in the cpy folder.

  9. To fix the errors generated when the project was built, you need to define the correct copybook path:
    1. In the Team Developer Tree view, right-click the ACCTCLNT project and click Properties.
    2. Choose Micro Focus > Build Path > Dependency Paths.
    3. Ensure the type is set to COBOL Copybook Paths, select ACCTCLNT/cpy, then click OK.

      The project will build again, but this time will be free of errors.

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

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