TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
Chapter 9 465
Using a Remote Database
Access Through a Local Application Program
Example
Record 1 FILE ORDERS=ORDERS:NODEX
Record 2 DSLINE NODEX
Record 3 USERA.ACCTA,GROUPA=HELLO USERB.ACCTA,GROUPB
Record 4 @.ACCTA,GROUPA=HELLO USERA.ACCTA,GROUPA
Record 5 USERB.ACCTB,
@
=HELLO USERB.ACCTX,
@
End of file
If a user logs on with the logon identification indicated in the first column below,
TurboIMAGE/XL uses the corresponding USER.ACCT,GROUP identification in the second
column to establish communication with the remote system.
Logon Identification Remote Identification
User1 USERA.ACCTA,GROUPA USERB.ACCTA,GROUPB
User2 USERB.ACCTA,GROUPA USERA.ACCTA,GROUPA
User3 USERB.ACCTB,GROUPB USERB.ACCTX,GROUPB
User4 USERA.ACCTB,GROUPB None, no match found.
The first user's logon identification matches the local user, account, and group names
specified in record 3, so the remote names specified in that record are used.
The second user's account matches record 3 but the user name does not, so
TurboIMAGE/XL looks for another table entry with account ACCTA. Because the entry in
record 4 specifies any user (@) of ACCTA if their group is GROUPA, the second user's
remote identification will be that specified in record 4.
The third user logs on to ACCTB and a match is found in record 5 because it specifies the
same user name and accepts any group in the account.
The fourth user's account matches record 5 but the user name does not match. Therefore,
the fourth user cannot access the remote database with this application program.