AM3270 Management Programming Manual
COMMANDS AND RESPONSES
CONNECT Command
CONNECT Command
The CONNECT command creates a link between an AM3270 subdevice
and a TR3271 subdevice. Only subdevices can be connected. Once
this command is successfully completed, data can pass between
AM3270 terminals and an IBM host through the TR3271 subsystem.
When you use the CONNECT command, the subsystem checks that both
the AM3270 subdevice and the target TR3271 subdevice are in the
STARTED summary state. In addition, they must both be defined as
PTP subdevices. If the AM3270 subdevice is not already defined
as a PTP subdevice, you can redefine it using either the ZPROTO
field in the AM3270 ALTER command described in this manual, or
the ALTER command described in the
Subsystem Control Facility
(SCF) Reference Manual
. If the TR3271 subsystem is not supported
by DSM, you can use the CMI ALTER SUBDEVICE command. Refer
to the
Communications Management (CMI) Operator’s Guide
for more
information.
The lines for the AM3270 and targeted TR3271 subdevice must be in
the STARTED summary state.
Command
ZCOM-CMD-CONNECT
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-FNAME-32.
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.
>
6-32