Specifies the network protocol that the Informix client software uses to communicate with a remote Informix version 9.x database server.
IN9 Informix
INET_PROTOCOL = 'network_protocol '
Parameter |
Description |
---|---|
network_protocol |
A string that specifies the name of the network protocol used by the Informix client software. For information about the correct network protocol for your site, see your Informix system administrator. |
By default, PowerBuilder uses the network protocol specified in the Informix.INI configuration file.
To specify that Informix client software uses the Novell IPX/SPX network protocol:
Database
profile Type ipx
in the Protocol
Type box on the Network tab in the Database Profile Setup dialog
box.
Application Type the following in code:
SQLCA.DBParm="INET_PROTOCOL='ipx'"
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'"