Import Files from the Demonstration Program

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. 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.

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

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

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

  10. Start an Enterprise Developer command prompt. If you need instructions, see To start an Enterprise Developer command prompt.
  11. Enter the following to upgrade the default dfhdrdat resource definition file to include CICS resources:
    caspcupg /dp=c:\tutorials\aact\system