Run the AACT Transaction

Takes you through the steps necessary to start the ESAACT enterprise server region, access the AACT application running on the region using the Host Access for the Cloud emulator, initialize a VSAM file, and interact with the AACT application.

Start the ESAACT enterprise server region

To start the server in ESCWA:

  1. In ESCWA, click Native.
  2. In the navigation pane, click Directory Servers > Default.
  3. Click ESAACT.
  4. Click General > Control.
  5. Click Start.

    This opens the Region Start Options dialog box.

  6. Click Start.

Alternatively, you can start the server from the IDE, from Server Explorer as follows:

  1. Right-click the ESAACT server, and select Start from the context menu.
    Note: You might be prompted with an Enterprise Server Sign On dialog box, prompting you to provide connection details for the ESAACT server. This is a standard security dialog box. Click OK without specifying any sign-on details. Also, if prompted to disable password recovery, click No.

    In the Server Explorer, you can see that the icon for ESAACT has changed to indicate that the region has started.

Start the Host Access for the Cloud TN3270 Display

  • In the Server Explorer, right-click the ESAACT region; then click Mainframe TN3270 Display.

    This starts HACloud in your default browser and it connects to the server.

Initialize the AACTFIL VSAM file

Before you can run the AACT transaction for the first time, you need to initialize the AACTFIL VSAM file, in which the application stores data.

  1. In the HACloud TN3270 emulator, press Ctrl+F2 to clear the screen.
  2. Type CFCR AACTFIL, and then press Enter.

    This loads the VSAM file.

  3. Press Ctrl+F2 to clear the screen.

Run the AACT transaction

Start AACT
  • Enter AACT. The following shows the initial screen of our transaction:

    As you can see from this screen, this transaction lets you display, add, delete, print, or modify information in the file.

Add a record
Follow these steps to add a record:
  1. Tab to the REQUEST TYPE field and type A.
  2. In the ACCOUNT field, type 11111.
  3. Press Enter.
  4. Complete the fields on the NEW RECORD screen as follows. Of the three ADDRESS fields, complete only the first two. Fields not represented here are not mandatory so please skip over them.
    SURNAME Washington
    FIRST George
    ADDRESS Mt. Vernon
      VA
    NO. CARDS ISSUED 1
    DATE ISSUED 070476
    REASON N
    CARD CODE 1
    APPROVED BY ME
  5. Press Enter.
Retrieve a record
Follow these steps to retrieve the record you just added:
  1. Tab to the REQUEST TYPE field.
  2. Type D to display a record.
  3. In the ACCOUNT field, type 11111.
  4. Press Enter. The following display shows the record retrieved from the file:

  5. Clear the screen of your TN3270 emulator to return to the main menu, then clear the screen again to exit the transaction.
  6. You can now stop the enterprise server: in Server Explorer, right-click the ESAACT server, and click Stop.
Exit the transaction and the TN3270 session
  1. On the Host Access for the Cloud toolbar, click Disconnect, and then close the browser window.

This concludes the tutorial.