TR3271 Management Programming Manual

COMMANDS AND RESPONSES
DISCONNECT Command
DISCONNECT Command
The DISCONNECT command deletes a link between a TR3271 subdevice
and an AM3270 subdevice. You can disconnect only subdevices.
Once this command is successfully completed, data can no longer
pass between AM3270 terminals and an IBM host through the TR3271
subsystem. However, subdevices remain in the STARTED summary
state.
When you use the DISCONNECT command, the subsystem checks that
both the TR3271 subdevice and the target AM3270 subdevice are
in the STARTED summary state and that they are defined as PTP
subdevices. In addition, the subsystem checks that the line is
in the STARTED summary state. If any of these conditions are
not met, the TR3271 subsystem rejects the command and returns an
error.
Your management application should always issue a DISCONNECT
command before aborting a PTP subdevice that is connected.
Command
ZCOM-CMD-DISCONNECT
Object Type
ZCOM-OBJ-SU
Tokens in Command Buffer
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING. !{}
ZCOM-TKN-TARGET-MGR token-type ZSPI-TYP-FNAME32.
ZCOM-TKN-TARGET-OBJNAME token-type ZSPI-TYP-STRING. !{}
ZCOM-TKN-TARGET-OBJTYPE token-type ZSPI-TYP-ENUM. !{}
ZCOM-MAP-REQID !MAP is optional, but if present,
!fields are required.
def ZCOM-DDL-REQID.
02 ZCRTPID type ZSPI-DDL-CRTPID.
02 ZPAID type ZSPI-DDL-INT.
end.
ZCOM-TKN-CMD-TIMEOUT token-type ZSPI-TYP-TIMESTAMP.
ZSPI-TKN-MANAGER token-type ZSPI-TYP-FNAME32.
ZSPI-TKN-SSID token-type ZSPI-TYP-SSID. !{}
ZSPI-TKN-MAXRESP token-type ZSPI-TYP-INT.
ZSPI-TKN-RESPONSE-TYPE token-type ZSPI-TYP-ENUM.
>
6-41