You need to import the files from the CICS demonstration program into your project.
- In the IDE, select your project in the
Application Explorer view.
- Click
File > Import... on the main menu.
- In the
Import dialog, expand
General, click
File System and then click
Next.
- 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.
- Click
OK.
- In the left hand panel, expand the
ACCTCLNT folder.
- Check the boxes next to the following folders:
- 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.
- To fix the errors generated when the project was built, you need to define the correct copybook path:
- In the
Application Explorer view, right-click the
ACCTCLNT project and click
Properties.
- Choose
.
- 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:
- Right-click on the ACCTCLNT project in the
Application Explorer view and click
New > Folder > Folder....
- Type
datain the
Folder name text field.
- Click
Finish.
- Create another folder,
system in the same way.