Takes you through the steps necessary to start the ESACCT
enterprise server region, access the
region using the
HACloud TN3270 emulator, initialize a VSAM file, and interact with the ACCT transaction.
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 ESACCT enterprise server region
-
- In
Visual Studio on the
Server Explorer, expand
Micro Focus Servers > Default.
- Right-click the
ESACCT 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 ESACCT 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
ACCT has changed to indicate that the
region 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:
- 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 ACCT transaction
Now you are ready to access the transaction and add some data before exiting.
- Start the ACCT transaction
- Now you are ready to access the application.
- In
Host Access for the Cloud, press
Ctrl+F2 to clear the VSAM message.
- Enter
ACCT.
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.
- Display a record
-
- Tab to the
REQUEST TYPE field.
- Type
D to display a record.
- In the
ACCOUNT field, type
11111.
- Press
Enter. This displays the record retrieved from the database.
- Exit the transaction and the TN3270 session
-
- On the
Host Access for the Cloud toolbar, click
Disconnect, and then close the browser window.