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\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.
- Click
OK.
- In the left hand panel, expand the
ACCTWEB folder.
- Check the boxes next to the following folders:
- 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.
- Right-click the project name and select
Properties.
- Expand
Micro Focus, then click
Build Path.
- On the
Dependency Paths tab, choose
COBOL Copybook Paths from the drop-down list, and add
ACCTWEB\cpy to the path to imported copybooks.
- 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:
- Right-click on the ACCTWEB project in the
Application Explorer view and click
New > Folder > Folder....
- Type
data in the
Folder name text field.
- Click
Finish.
- Create another folder,
system in the same way.