TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)
Chapter 9 463
Using a Remote Database
Access Through a Local Application Program
Creating a Database-Access File
The content of the database-access file should be created in the format shown below.
Syntax
Record 1 FILE
dbname1=dbname2:nodename
Record 2 DSLINE
nodename
[; . . .]
(See NS3000/XL document for applicable parameters.)
Record 3
lusername.lacctname
[,
lgroupname
]=HELLO
rusername
[/
rupasw
]
.racctname
[/
rapasw
][,
rgroupname
[/
rgpasw
]] . . .
(See MPE/iX commands document for additional parameters.)
Record 4 Same format as record 3. Specifies other "user.account,group"
identification.
.
.
.
Record
n
Parameters
dbname1
is the name of the database-access file on the local system or the database
on the remote system you want to access, or is the formal file designator
used in the program if dbname2 is specified. (Required parameter.)
dbname2
is the name of the database-access file or the database on the remote
system you want to access. (Required parameter.)
nodename
is the remote location of the database. This parameter is preceded by a
colon when used with the FILE command; if followed by options with the
DSLINE command, it is followed by a semicolon. (Required parameter.)
Refer to the NS3000/XL User/Programmer Reference Manual for
additional information.
lusername
is a user name on the local HP 3000, as established by an account
manager, that allows you to log on under this account. This name is unique
within the account. It contains from 1 to 8 alphanumeric characters,
beginning with a letter. An at-sign (@) can be used to indicate the logon
user name. (Required parameter.)
lacctname
is the name of your account on the local HP 3000 as established by a
system manager. It contains 1 to 8 alphanumeric characters, beginning
with a letter. An at-sign (@) can be used to indicate the logon account.
(Required parameter.)
lgroupname
is the name of a file group to be used for the local file domain as
established by an account manager. It contains from 1 to 8 alphanumeric
characters, beginning with a letter. An at-sign (@) can be used to indicate
the logon group. (Optional parameter.)
rusername
is a user name on the remote HP 3000 that allows you to log on under the