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
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.
Configure and build the AACT project
- Double-click the
Properties folder
AACT project, then click the
COBOL tab in the properties.
- Enter
.\loadlib in the
Output path field. This will be the location of the build artefacts.
- Click
File > Save All.
- Right-click the
AACT project name in Solution Explorer; then select
Build.
You can watch the progress of this process in the
Output window.
- When the build is complete, save the project.