INET_PROTOCOL – PB Docs 126

INET_PROTOCOL database parameter

Description

Specifies the network protocol that the Informix client software
uses to communicate with a remote Informix database server.

Controls

  • I10 Informix

  • IN9 Informix

Syntax

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.

Default

By default, PowerBuilder uses the network protocol specified
in the HKEY_LOCAL_MACHINESOFTWAREInformixSqlHosts registry
key.

Examples

Example 1

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 page in the Database Profile Setup dialog
    box.

  • Application

    Type the following in code:

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:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x