Walks you through the steps required to create the AACT project in
Eclipse, import the AACT demonstration files,
and
install the resource definition file.
Restriction: This topic applies to Windows environments only.
Create the AACT project
- In Eclipse, expand the top-level
Enterprise Developer entry in the
Application Explorer view.
- Right-click
Enterprise Development Projects in the
Application Explorer view, and click
.
This opens the
New Mainframe COBOL Project dialog box.
- Specify the project name
AACT and click
Finish.
Eclipse creates the project, and the
Application Explorer view displays the
AACT project.
- Right-click the
AACT project in the
Application Explorer view, and click
New > Folder > Folder.
This opens the
New Folder dialog box.
- Specify
loadlib as the folder name, and click
Finish.
This is the folder for the files generated by your project. You now need to configure the project to produce the generated
files in the
loadlib subfolder.
- Right-click the project in the
Application Explorer view, and click
Properties.
- Expand
Micro Focus > Build Configurations and click
Link.
- In the
Output Path field, click
Browse.
This opens the
Folder Selection dialog box.
- Select the
loadlib folder; then click
OK.
- Click
Apply and Close.
Import the AACT demonstration files
In this step, you import the files from the AACT demonstration transaction into your project, and copy the resource definition
file to the project.
- In Eclipse, select the
AACT project in the
Application Explorer view, and then select
File >
Import from the main menu.
This opens the
Import dialog box.
- Expand
General, click
File System, and click
Next.
- Click the
Browse button that corresponds to the
From directory field.
- Navigate to
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Assembler\Classic\AACT, and click
Select Folder.
This displays the list of the files available in the in the
AACT directory.
- In the left pane, check
AACT.
- In the right pane, scroll down and uncheck
Readme.xml.
- Click
Finish.
This action adds the AACT application files to the project folder, creates the
SYSTEM project subfolder (not visible from the Eclipse IDE), and adds the default
dfhdrdat resource definition file to the
SYSTEM subfolder. In addition, Eclipse automatically builds the project. In this case, the build fails because you need to set some
project properties to specify that the Assembler programs use CICS.
Install the dfhdrdat resource definition file
- Start an
Enterprise Developer command prompt. If you need instructions, see
To start an
Enterprise Developer command prompt.
- Enter the following to upgrade the default
dfhdrdat resource definition file to include CICS resources:
caspcupg /dp=c:\users\username\workspace\AACT\SYSTEM
Where
username is your Windows user ID.