To successfully run your new AACT application, you must first create a new enterprise server instance configured for Mainframe
Subsystem Support, and with Assembler enabled.
- In
Enterprise Developer Server Explorer, expand
Micro Focus Servers.
- Right-click the
localhost server, and click
New Enterprise Server.
- In the
New Enterprise Server dialog box, specify
AACT in the
Name field.
Note: At some point in the process of creating a new
enterprise server region, you might be prompted to provide connection details by an
Enterprise Server Sign On dialog box. This is a standard security dialog box. Click
OK without specifying any sign on details. Also, if prompted to disable password recovery, click
No.
- Click the browse button on the row of the
Template field.
This opens the location of the
Enterprise Server templates shipped with
Enterprise Developer - by default, these are in
VSInstallDir\Common7\IDE\Extensions\Micro Focus\Visual COBOL SOA\1.0\Etc\ServerTemplates.
- Select the
CICSTemplate.xml file, and click
Open.
This template creates an enterprise server with Mainframe Subsystem Support configured for CICS.
- Check the
AACT box to associate the new
enterprise server region with the AACT project.
- Click
OK to create the server.
Server Explorer refreshes the
localhost node to show the AACT server. You now need to configure the server.
- In Server Explorer, right-click
Micro Focus Servers and click
Administration.
This opens the home page of
Enterprise Server Administration in the IDE.
- Click
Edit on the row for
AACT.
- You need to set these two environment variables:
BASE=c:\tutorials\AACT
|
Provides your enterprise server with the path to your project files
|
ES_MFASM_SUPPORT=Y
|
Enables Assembler for CICS regions
|
To do this, type the following into the
Configuration Information field on the
General page:
[ES-Environment]
BASE=c:\tutorials\AACT
ES_MFASM_SUPPORT=Y
- Click
Apply.
- Click the
Listeners tab.
- Click
Edit on the row for the
TN3270 listener.
- Change the
Endpoint Address field to
*:9004 and click
OK.
This is the port number used when you connect to the enterprise server with your TN3270 emulator.
- Click the
Server tab.
- In the
Description field, type a description of the new enterprise server, for example
Assembler AACT Tutorial.
- Click
OK at the bottom of the page, and then click
Home in the upper left corner.
This displays the
Enterprise Server Administration
Home page with your new
AACT server in the list of the available enterprise servers.