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.
- Expand
General, click
File System, and click
Next.
- Browse to and select the directory that stores the AACT sample files,
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Assembler\Classic\AACT, and click
OK.
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 an 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 (see
Prerequisites in the
Tutorial: Assember topic). In this case, the build fails because you need to set some project properties to specify that the Assembler programs
use CICS.
- Right-click the
AACT project in the
Application Explorer view, and click
Properties.
- In the
Properties for AACT dialog box, expand
Micro Focus > Project Settings > Assembler Compiler and click
CICS Preprocessor.
- Check
Use CICS Preprocessor, and click
Apply and Close.
This triggers a rebuild of the project, and this time it is successful.
- 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:\tutorials\aact\system