TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
Chapter 9 469
Using a Remote Database
Access Through a Local Application Program
In this sample case, after logging on to the local system, the user runs the program named
APPLICAN from the local session. The base array in this program contains ORDDBA.
When a call to DBOPEN is executed, TurboIMAGE/XL establishes a communication line and
remote session. When the program closes the database, TurboIMAGE/XL closes the line
and terminates the remote session.
Figure 9-6. Using a Database-Access File
1 :HELLO MEMBER2.PAYACCT
.
.
.
2 :RUN APPLICAN
3 HP3000 / MPE/iX G.00.00 FRI SEP 6, 1991, 3:55 PM
ENVIRONMENT 1: ELECTRA.DOC.ITG
4 WELCOME TO SYSTEM B.
.
.
.
CPU=2. CONNECT=1. FRI, SEP 6, 1991, 3:59 PM
ENVIRONMENT 1: ELECTRA.DOC.ITG CLOSED
5 :BYE
Description
1 Initiate an MPE/iX session on the local system by logging on with the
appropriate user name and account.
2 Execute the application program APPLICAN. (The program calls DBOPEN
using ORDDBA as the baseid.)
3 TurboIMAGE/XL establishes a communications line and remote session.
4 When the database is closed, TurboIMAGE/XL closes communications line
and ends remote session.
5 Log off local system.