Previous Topic Next topic Print topic


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 Team Developer Tree 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. 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
  5. 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.

  6. Right-click the AACT project in the Team Developer Tree view, and click Properties.
  7. In the Properties for AACT dialog box, expand Micro Focus > Project Settings > Assembler Compiler and click CICS Preprocessor.
  8. Check Use CICS Preprocessor, and click Apply and then click OK.

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

  9. In the Team Developer Tree view, select the system subfolder of the AACT project, and then select File > Import.
  10. Expand General, click File System, and click Next.
  11. 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.
  12. 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.

  13. 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 and Windows Server 2012. You use the Start screen to invoke programs.
  14. Enter the following to upgrade the resource definition file:
    caspcupg /dp=c:\tutorials\aact\system
Previous Topic Next topic Print topic