Provides instructions for running the ACCTWEB application on the ESACCTSV
enterprise server region from the
Host Access for the Cloud TN3270 terminal display, and add two data records. This sets up the application data such that you can access it from a Web
browser later in the tutorial.
The ACCT Web interface supports data search by the Surname field only. You need to interact with the application in TN3270
mode to add data records. Later in this tutorial, you then do a data search from the Web interface to display the records
you add here.
Prepare to run the ACCT transaction
Here you start up the
enterprise server region, start the
Host Access for the Cloud TN3270 emulator, and initialize the database.
- Start the ESACCTSV
region
-
- In the
Eclipse
Server Explorer, right-click
ESACCTSV, and then select
Start.
When the
region is up and running, both the
Server Explorer view and the entry in ESCWA show that it is in started mode.
- Start the
HACloud Session Server
-
Ensure that you have updated the
Micro Focus
HACloud service property to start up automatically. For instructions on how to do so, see
Starting the HACloud Session Server.
To start the
HACloud session server on Windows:
- Ensure that the installed Java is added to the PATH environment variable.
- Start the
Enterprise Server region that runs the application you want to connect to.
- Start either the 32-bit or 64-bit
Enterprise Developer command prompt or
Enterprise Server command prompt - this must match the working mode, 32 or 64-bit, of the JRE you have installed.
- Type
startsessionserver at the command prompt, and press
Enter.
Check the console for the messages that the
Micro Focus
HACloud Session Server has started.
To start the
HACloud session server on UNIX:
- Ensure that the installed Java is added to the PATH environment variable.
- Start the
Enterprise Server region that runs the application you want to connect to.
- Open a terminal and set up the COBOL environment in it.
- Run the following to start the session server:
startsessionserver.sh
Check the terminal for the messages that the
Micro Focus
HACloud Session Server has started.
- Open
Host Access for the Cloud
- With the
enterprise server region started, you can now run the ACCT transaction and interact with it via the TN3270 Mainframe display:
- In
Server Explorer view, right-click the
ESACCTSV
enterprise server region; then select
Show TN3270 Display from the context menu.
This starts the
Host Access for the Cloud in your default browser and connects it to the ACCTWEB application running on the ESACCTSV
enterprise server region.
- Initialize the ACCTFIL VSAM File
- Before you can run the ACCT transaction, you need to initialize its VSAM file.
- In
Host Access for the Cloud, press
Ctrl+F2 to clear the CESN login screen.
- Enter
CFCR ACCTFIL.
If this is the first time you have run a CICS tutorial, you should see a message indicating that the ACCTFIL VSAM file was
created successfully. Otherwise, the message explains that the ACCTFIL file already exists.
Interact with the ACCTWEB application
Now you are ready to access the application and add some data before exiting.
- Start the transaction
- Now you are ready to access the application.
- In
Host Access for the Cloud, press
Ctrl+F2 to clear the VSAM message.
- Enter
ACCTWEB.
This invokes the initial screen for the ACCT transaction.
- Add two records
-
- Tab to the
REQUEST TYPE field and type
A.
- In the
ACCOUNT field, type
11111 .
- Press
Enter.
- Complete the fields on the
NEW RECORD screen. As you do this:
- Of the three
ADDRESS fields, complete only the first two.
- Skip over fields that are not represented in this table.
- Keep in mind that data presented here is provided for test purposes only. You can substitute any valid data you choose.
- If you inadvertently lock the application screen, stop and restart the
enterprise server region; then start the ACCT transaction again.
SURNAME
|
Washington
|
FIRST
|
George
|
ADDRESS
|
Mt. Vernon
VA
|
NO. CARDS ISSUED
|
1
|
DATE ISSUED
|
07 04 76
|
REASON
|
N
|
CARD CODE
|
1
|
APPROVED BY
|
ME
|
- Press
Enter.
- Repeat steps 1 and 2, substituting
11112 in the
ACCOUNT field.
- Repeat steps 3 and 4, substituting the following data:
SURNAME
|
Washington
|
FIRST
|
Martha
|
ADDRESS
|
Mt. Vernon
VA
|
NO. CARDS ISSUED
|
1
|
DATE ISSUED
|
07 04 76
|
REASON
|
N
|
CARD CODE
|
1
|
APPROVED BY
|
ME
|
- Press
Enter to return to the menu.
- Exit the transaction and the TN3270 session
-
- On the
Host Access for the Cloud toolbar, click
Disconnect, and then close the browser window.