PAM Management Programming Manual

SPI Programming Considerations for the PAM
Subsystem
PAM Management Programming Manual142481
3-4
Commands
Commands
The PAM subsystem supports the following commands:
Programmatic commands for the PAM subsystem are identified by command numbers
with symbolic names having the form ZCOM-CMD-name, where name identifies the
command. (The separator character varies with the language: hyphens are shown
throughout this manual and DSM manuals because hyphens are used in DDL.) For
example, the name used by application programs for the ALTER command is ZCOM-
CMD-ALTER. These names represent the values that can be assigned to the command
number header token, ZSPI-TKN-COMMAND.
These commands are described in Section 5, Commands and Responses
.
Object Types
The PAM subsystem supports the following object types:
PROCESS
LINE
PORT
MSAP
SESSION
All commands and responses contain an object-type token in the header. For the PAM
subsystem, object types are identified in programs by symbolic names having the form
ZCOM-OBJ-name where name identifies the object type. For example, the LINE object
type is represented by the name ZCOM-OBJ-LINE. The object-type header token, ZSPI-
TKN-OBJECT-TYPE, always has one of these ZCOM values.
A response consists of a number of response records, which are groups of tokens that
give response information about a particular object. In addition to the object-type header
token, some PAM subsystem response records contain an object-type token that
identifies the object described in the response record. The name of this token is ZCOM-
TKN-OBJTYPE. The symbolic names of its possible values also have the form ZCOM-
OBJ-name.
The kinds of objects the PAM subsystem manages are described in more detail in
Section 1, Introduction
.
ABORT RESETSTATS
ADD START
ALTER STATISTICS
DELETE STATUS
INFO STOP
LISTOBJECTS SWITCH
LISTOPENS TRACE