PAM Management Programming Manual
Commands and Responses
PAM Management Programming Manual—142481
5-5
ADD Command
ADD Command
ADD is a sensitive command that is used to create a PORT object, define its attributes,
and add it to the subsystem. PAM object types other than PORT are added when the host
system is configured. PORT objects define an access point to a particular service, as
determined by the object subtype. The defined PORT subtype values are ZPAM-VAL-
PORT-TYPE-ENET and ZPAM-VAL-PORT-TYPE-LLC1.
A single adapter can communicate with several ports. The line name ($PAM1) qualifies
the name of each port configured on the adapter ($PAM1.#PORT1, $PAM1.#PORT2,
and so on). A single port identifier can be used on different adapters or lines
($PAM1.#PORT1, $PAM2.#PORT1, and so on); however, it is less confusing if each
PORT object is given a unique designation regardless of which adapter or line it is
associated with ($PAM1.#PORT1, $PAM1.#PORT2, $PAM2.#PORT3, and so on).
Command
ZCOM-CMD-ADD
Object Type
ZCOM-OBJ-PORT !r
Tokens in Command Buffer
ZSPI-TKN-MANAGER token-type ZSPI-TYP-FNAME32. !r
ZCOM-TKN-OBJNAME token-type ZSPI-TYP-STRING. !r
ZPAM-TKN-OBJ-SUBTYPE token-type ZSPI-TYP-ENUM. !r
ZPAM-MAP-ADD-PORT token-type ZSPI-TYP-STRUCT. !r
def ZPAM-DDL-ADD-PORT
02 ZADDR type ZSPI-DDL-INT. !r
02 ZMAC-ADDR-IP type ZSPI-DDL-BOOLEAN. !r
02 ZMAC-ADDR type ZSPI-DDL-BYTE !-IP
occurs 6 times.
02 ZDELIV-MODE-IP type ZSPI-DDL-BOOLEAN. !r
02 ZDELIV-MODE type ZSPI-DDL-INT. !-IP
02 ZMAX-REQ-SIZE-IP type ZSPI-DDL-BOOLEAN. !r
02 ZMAX-REQ-SIZE type ZSPI-DDL-INT. !-IP
02 ZDATA-FWD-TIME-IP type ZSPI-DDL-BOOLEAN. !r
02 ZDATA-FWD-TIME type ZSPI-DDL-TIMESTAMP. !-IP
02 ZDATA-FWD-CNT-IP type ZSPI-DDL-BOOLEAN. !r
02 ZDATA-FWD-CNT type ZSPI-DDL-INT. !-IP
02 ZLLC2-ENABLED-IP type ZSPI-DDL-BOOLEAN-DEF.!r
02 ZLLC2-ENABLED type ZSPI-DDL-ENUM-DEF.!-IP end.
ZSPI-TKN-MAXRESP token-type ZSPI-TYP-INT.
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
ZSPI-TKN-RESPONSE-TYPE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-ALLOW-TYPE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
(continued)