INET_SERVICE database parameter
Description
Specifies the name of the service that a remote Informix database
server uses to listen to all incoming requests from client applications.
Controls
-
I10 Informix
-
IN9 Informix
Syntax
1 |
INET_SERVICE='<span>service_name</span>' |
Parameter |
Description |
---|---|
service_name |
A string that specifies the name of the For information about the correct service |
Default
By default, PowerBuilder uses the service name specified in
the HKEY_LOCAL_MACHINESOFTWAREInformixSqlHosts registry
key.
Examples
Example 1
To specify that your Informix database server uses the sqlexec service
name:
-
Database
profileType
sqlexec
in the Service
Name box on the Network page in the Database Profile Setup dialog
box. -
Application
Type the following in code:
1SQLCA.DbParameter="INET_SERVICE='sqlexec'"
Example 2
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 turbo
service and the olsoctcp network protocol:
-
Database profile
Type /Informix in the Database
Path box, turbo in the Service Name box, and olsoctcp in the Protocol
Type box on the Network page in the Database Profile Setup dialog
box. -
Application
Type the following on a single line in code:
1SQLCA.DbParameter="INET_DBPATH='/Informix',INET_SERVICE='turbo',INET_PROTOCOL='olsoctcp'"