The DISCONNECT command breaks the connection with the specified remote queue. (This command is nondestructive; it does not delete the remote queue.)
When the local workstation has no more use for a remote queue, issue the DISCONNECT command to free transport resources. (A transport is the mechanism that moves data from one location to another, such as shared memory on your workstation or TCP/IP.)
If a REXX program disconnects from a remote queue that other REXX programs on the same workstation are still using, an automatic reconnection occurs transparently. An error occurs if the queue is currently locked by a program other than the calling program.
This command has the following format:
ADDRESS PPQ 'DISCONNECT QUEUE(qname)'
Specifies the 1- to 16-character name of the queue (qname). The queue name can contain alphanumeric characters and any of these special characters: ! @ # $ _
The queue name cannot contain blanks.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|