Set Up the AACT Project

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

  1. In Eclipse, expand the top-level Enterprise Developer entry in the Application Explorer view.
  2. Right-click Enterprise Developer Projects in the Application Explorer view, and click New COBOL Project > Mainframe COBOL Project .
  3. Specify the project name AACT and click Finish.

    Eclipse creates the project, and the Application Explorer view shows the AACT project.

  4. Right-click the AACT project in the Application Explorer view, and click New > Folder > Folder.
  5. 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.

  6. Right-click the project in the Application Explorer view, and click Properties.
  7. Expand Micro Focus > Build Configurations and click Link.
  8. In the Output Path field, click Browse, select the loadlib folder; then 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.

  1. In Eclipse, select the AACT project in the Application Explorer view, and then select File > Import from the main menu.
  2. Expand General, click File System, and click Next.
  3. Click the Browse button that corresponds to the From directory field.
  4. 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.

  5. in the left pane, check AACT.
  6. In the right pane, scroll down and uncheck Readme.xml.
  7. 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.

Set AACT project properties

  1. Right-click the AACT project in the Application Explorer view, and click Properties.
  2. In the Properties for AACT dialog box, expand Micro Focus > Project Settings > Assembler Compiler, and then click CICS Preprocessor.
  3. Check Use CICS Preprocessor, and then click Apply and Close.

    This triggers a rebuild of the project, and this time it is successful.

Install the dfhdrdat resource definition file

  1. Start an Enterprise Developer command prompt. If you need instructions, see To start an Enterprise Developer command prompt.
  2. 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.