Create an Enterprise Server

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.

  1. In Eclipse, in Server Explorer, right-click Local [localhost:86] and click New > Enterprise Server.
  2. In the Create New Enterprise Server dialog box, specify AACT in the Name field.
  3. 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 installdir\etc\ServerTemplates.

  4. Select the CICSTemplate.xml file, and click Open.

    This template creates an enterprise server with Mainframe Subsystem Support configured for CICS.

  5. Click Finish to create the server.

    Server Explorer refreshes the localhost node to show the AACT server. You now need to configure the server.

  6. In Server Explorer, right-click Local and click Open Administration Page.

    This starts Enterprise Server Administration in the IDE.

  7. Click Edit on the row for AACT.
  8. 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
  9. Click the Apply.
  10. Click the Listeners tab.
  11. Click Edit on the row for the TN3270 listener.
  12. Change the Endpoint Address field to *:9004.

    This is the port number used when you connect to the enterprise server with your TN3270 emulator.

  13. In the Description field, type a description of the new enterprise server, for example Assembler AACT Tutorial.
  14. 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.