Run the ACCT transaction in the Rumba TN3270 emulator, add two data records, and display one of the records.
Having created, configured, and started an
enterprise server region for the ACCT application, you can now use the Rumba TN3270 mainframe emulator to run it.
- Verify Rumba Options
- Ensure that
Visual Studio is configured to use the embedded Rumba emulator to run mainframe applications:
- In Visual Studio, click
Tools > Options.
- Expand
Micro Focus, and click
TN3270 Display.
- Ensure that the
Rumba (Embedded) display option is selected.
- Ensure that
Connect automatically is checked.
- Click
OK.
- Open the
Embedded Rumba Display
- Start the
embedded Rumba Display as follows:
- In the Server Explorer, right-click ESACCT; then select
Enterprise Server > Mainframe TN3270 Display from the context menu.
This opens the
embedded Rumba Display and connects it to the ACCT application running on the ESACCT
enterprise server region.
- Initialize the ACCTFIL VSAM File
- Before you can run the ACCT transaction, you need to initialize its VSAM file.
- In the
embedded Rumba Display, press
Ctrl+Shift+Z 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.
- Start the ACCT transaction
- Now you are ready to access the application.
- In the
embedded Rumba Display, press
Ctrl+Shift+Z 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
|
TITLE
|
Pres
|
TELEPHONE
|
7037802000
|
ADDRESS
|
Mt. Vernon Estate
Mt. Vernon, VA 22121
|
NO. CARDS ISSUED
|
1
|
DATE ISSUED
|
07 04 76
|
REASON
|
N
|
CARD CODE
|
1
|
APPROVED BY
|
JF
|
- 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
|
TITLE
|
Mrs
|
TELEPHONE
|
7037802000
|
ADDRESS
|
Mt. Vernon Estate
Mt. Vernon, VA 22121
|
NO. CARDS ISSUED
|
1
|
DATE ISSUED
|
07 04 76
|
REASON
|
N
|
CARD CODE
|
1
|
APPROVED BY
|
NF
|
- 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 application
-
- Press
Ctrl+Shift+Z twice to exit the application.