Specifies the Informix DBPATH setting. The DBPATH environment variable identifies a list of directories that contain Informix databases. INET_DBPATH typically specifies the location of Informix databases if this is other than in a directory on the database server.
IN9 Informix
INET_DBPATH = 'server_db_path'
Parameter |
Description |
---|---|
server_db_path |
The name of the directory containing Informix databases |
By default, PowerBuilder uses the value specified for DBPATH in the Informix.INI configuration file.
To specify that the directory /HOME/Informix contains Informix databases:
Database profile Type the following in the Database Path box on the Network tab in the Database Profile Setup dialog box:
/home/Informix
Application Type the following in code:
SQLCA.DBParm="INET_DBPATH='/home/Informix'"
You can specify values for INET_DBPATH, INET_PROTOCOL, and INET_SERVICE together. To specify that the directory /Informix contains Informix databases and that you want to connect using the SE9 service and the TCP/IP network protocol:
Database
profile Type /Informix
in
the Database Path box, SE9
in
the Service Name box, and tcp-ip
in
the Protocol Type box on the Network tab in the Database Profile
Setup dialog box.
Application Type the following on a single line in code:
SQLCA.DBParm="INET_DBPATH='/Informix', INET_SERVICE = 'se9',INET_PROTOCOL = 'tcp-ip'"