OpenAPI User Guide > OpenAPI User Guide > Accessing the Name Server > Name Server Query Syntax > Show Connection Statement--Display Connection Data Definitions
Was this helpful?
Show Connection Statement--Display Connection Data Definitions
This statement displays a connection data definition.
This statement has the following syntax:
show global|private connection vnode net_addr protocol port
This statement has the following parameters:
global|private
Specifies a global or private object. A global object is available to all users on the local node. A private object is available to a single user.
vnode
Specifies the virtual node name to be associated with this connection data definition.
net_addr
Specifies the address or name of the remote node.
Your network administrator specifies this address or name when the network software is installed. Normally, the node name, as defined at the remote node, is sufficient for this parameter.
The format of a net address depends on the type of network software that the node is using.
protocol
Specifies the Ingres keyword for the protocol used to connect to the remote node. Its value can be one of the following:
tcp_ip
decnet
port
Specifies the unique identifier used by the remote Communications Server for interprocess communication.
The format of a listen address depends on the network protocol.
Example: Show connection statement
The following example displays global connection data definitions on vnode apitest, where net_addr is apitest:
show global connection apitest apitest* *
The following is an example of sample output from this operation:
global connection apitest apitest tcp_ip mg2
Last modified date: 01/30/2023