TCP/IP TELNET Management Programming Manual

ADD Command
Commands and Responses
53474 Tandem Computers Incorporated 6–9
ADD Command
The ADD command adds a window to the TELNET subsystem. Windows can be
created with the ADD command or they can be added dynamically when a connection
is established. Windows created with the ADD command generally provide a class of
service. To create a class of service, you add a set of windows with like characteristics.
Programs associated with a class of service can be run on any window belonging to
that service. This flexibility allows a TELNET client to choose a particular service
instead of a specific window.
This command is not valid for the PROC object. The process must be in the STARTED
summary state; that is, it must exist before a window is added. If the process is not in
the STARTED state, use the RUN command to create it. When the subsystem finishes
processing the command (without errors), the window is placed in the STOPPED
summary state. You must start the added window using the START command.
Object-name templates do not apply to this command.
When your management application issues the ADD command, the subsystem checks
the configurable attributes. These attributes are defined in the ZTNT-MAP-ADD-WIN
extensible structured token. If the attributes are valid, the subsystem verifies that the
specified window is not already defined and that the number of windows on the
process does not exceed the limit of 128.
If either of these checks fails, the TELNET subsystem returns an error.
Command
ZCOM-CMD-ADD
Object Type
ZCOM-OBJ-WINDOW
Tokens in Command Buffer
ZTNT-MAP-ADD-WIN !{}
def ZTNT-DDL-ADD-WIN. !Specify 0 or more values.
02 ZERASE-CHAR type ZSPI-DDL-CHAR.
02 ZKILL-CHAR type ZSPI-DDL-CHAR.
02 ZEOF-CHAR type ZSPI-DDL-CHAR.
02 ZEOL-CHAR type ZSPI-DDL-CHAR.
02 ZINTRPT-CHAR type ZSPI-DDL-CHAR.
02 ZSERVNAME type ZSPI-DDL-CHAR50.
02 ZSERVICETYPE type ZSPI-DDL-ENUM.
end.
—>