In this step, you import the files from the AACT demonstration program into your project and copy the resource definition files to the project.
- In Visual Studio, right-click the
AACT project in Solution Explorer and select
Add >
Existing Item.
- Browse to the AACT sample files, located in the
%ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\Examples\Visual Studio Integration\Visual Studio Integration\Tutorials\Mainframe\Assembler\AACT directory.
- On the Add Existing Item dialog box, click the drop-down list associated with the
File Name field and select
All Files (*.*).
- Select all of the following files, and then click
Add to add them to the project:
- acctrec.cpy
- acctset.bms
- acctset.cpy
- acctset.mac
- acctrec.mac
- asmacct0.mlc
- asmacct1.mlc
- asmacct2.mlc
- asmacct3.mlc
- asmacct4.mlc
- asmacctm.mlc
As each file is added to the project,
Studio Enterprise Edition automatically scans each one to determine the appropriate preprocessor to use when compiling, and set the appropriate directive. In this case,
Studio Enterprise Edition automatically sets each to use CICS directive. You can watch the progress of this process in the
Output window.
- At a command prompt or using Explorer, create a subdirectory under
c:\tutorials\AACT named
System.
- Copy the
dfhdrdat and
dfhdrdat.idx files from the
%ProgramFiles(x86)%\Micro Focus\Studio Enterprise Edition x.x\Examples\Visual Studio Integration\Visual Studio Integration\Tutorials\Mainframe\Assembler\AACT\System
directory to the
c:\tutorials\AACT\System subdirectory that you just created. These are the files that contain the resource definitions you need to create an enterprise server to run the AACT application.