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 Team Developer Tree 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.
- Select all of the following files:
- AACTREC.cpy
- AACTSET.bms
- AACTSET.cpy
- aactset.mac
- aactrec.mac
- asmacct0.mlc
- asmacct1.mlc
- asmacct2.mlc
- asmacct3.mlc
- asmacct4.mlc
- asmacctm.mlc
- Click
Finish.
This action adds the selected files to the project and 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 Team Developer Tree 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 then click
OK.
This triggers a rebuild of the project, and this time it is successful.
- In the Team Developer Tree view, select the
system subfolder of the
AACT project, and then select
File >
Import.
- Expand
General, click
File System, and click
Next.
- Browse to and select the
system subfolder in the location of the AACT sample,
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Assembler\Classic\AACT\system, and click
OK.
- Select the
dfhdrdat file and click
Finish.
This adds the file to the
system project folder.
dfhdrdat contains resource definitions required for the
enterprise server region that runs the AACT transaction. You now need to upgrade the file in
Enterprise Server.
- Open a COBOL command environment by choosing
Start > All Programs > Micro Focus Enterprise Developer > Tools > Enterprise Developer Command Prompt (32-bit).
Note: The Start menu is not available on Windows 8, Windows 8.1, and Windows Server 2012. You use the Start screen to invoke programs.
- Enter the following to upgrade the resource definition file:
caspcupg /dp=c:\tutorials\aact\system