CALL RTR_CLOSE_CHANNEL

/CLUSTER /NOCLUSTER (D)

Specifies that the command is executed on all the nodes in the cluster.

If neither /NODE nor /CLUSTER is specified then the command is executed on the nodes specified by the latest SET ENVIRONMENT command. If no SET ENVIRONMENT command has been entered then the command is executed only on the node where the command was issued.

Note: In environments that do not support clustering, use of the /CLUSTER qualifier will cause the relevant command to be executed on the local node only.

/IMMEDIATE

/IMMEDIATE=RTR$DEFAULT_CHANNEL

Specifies the closing of a channel immediately without sending of a transaction acknowledgement.

Use /IMMEDIATE=RTR_F_CLO_IMMEDIATE to close the channel and recover any accepted transactions on this channel to an alternate server channel.

/NODE[=node-list] /NODE=default-node-list (D)

Specifies that the command is executed on all nodes specified in node-list. If node-listis omitted then the command is executed only on the node where the command was issued.

/OUTPUT[=file-spec] /OUTPUT=stdout (D)

Specifies that the resulting information is written to the file file-spec. If /OUTPUT or file-specis omitted then the standard or default output is used.

Examples

This command closes the RTR$DEFAULT_CHANNEL.

RTR> CALL RTR_CLOSE_CHANNEL %RTR-S-OK, Normal successful completion

This command closes the channel named ``client1''.

RTR> CALL RTR_CLOSE_CHANNEL/CHANNEL_NAME=CLIENT1 %RTR-S-OK, Normal successful completion

RTR Command Line Interface 6–11

Page 87
Image 87
Compaq AA-Q88CE-TE manual Immediate IMMEDIATE=RTR$DEFAULTCHANNEL, This command closes the channel named ``client1