Walks you through the steps required to create the AACT project in
Visual Studio,, import the AACT demonstration files,
install the resource definition file, and build the project.
Create the AACT project
- In Visual Studio, click
.
- In the
New Project dialog box, expand
.
- Click
Enterprise Server, and then click
Native.
- In the center pane, select the
Mainframe Subsystem Application template.
- Complete the
remaining
fields as follows:
Field
|
Value
|
Name
|
AACT
|
Location
|
c:\tutorials\ASM
|
- Uncheck
Create directory for solution.
- Click
OK.
Visual Studio creates the project in the
c:\tutorials\ASM\AACT directory, and opens the
Solution Explorer showing the
AACT solution and project.
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.
- In the Visual Studio
Solution Explorer, right-click the
AACT project, and select
Add >
Existing Item from the context menu.
- Browse to the AACT sample files, located in the
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Assembler\Classic\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:
- AACTREC.cpy
- AACTSET.bms
- AACTSET.cpy
- aactset.mac
- aactrec.mac
- asmacct0.mlc
- asmacct1.mlc
- asmacct2.mlc
- asmacct3.mlc
- asmacct4.mlc
- asmacctm.mlc
Set AACT project properties
- In the
Solution Explorer, double-click the
Properties folder.
- On the
Assembler page in the properties, and on the
Compiler tab, check
EXEC CICS in the
CICS Support section.
Install the dfhdrdat resource definition file
- At a command prompt or using Windows
File Explorer, create a subdirectory under
c:\tutorial\ASM\AACT named
system.
- Copy the
dfhdrdat file from the
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\Assembler\Classic\AACT\System directory to the
c:\tutorials\ASM\AACT\system subdirectory that you just created. This is the file that contains the resource definitions you need to create an enterprise
server to run the AACT transaction.
Build the AACT project
- From the Visual Studio Solution Explorer, right-click the
AACT project name; then select
Build.
You can watch the progress of this process in the
Output window.
- When the build is complete, save the project.