Destroy Connection Statement--Destroy a Data Definition
This statement deletes a connection data definition.
This statement has the following syntax:
destroy 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.
Examples: Destroy connection statement
The following example destroys a private connection data definition on vnode apitest, where net_addr=apitest, protocol=TCP/IP, and port=mg2:
destroy private connection apitest apitest tcp_ip mg2
The following example destroys all global connection data definitions on vnode payroll that include the TCP/IP protocol:
destroy global connection payroll * tcp_ip *
Last modified date: 08/14/2024