PAM Management Programming Manual
PAM Management Programming Manual—142481
3-1
3
SPI Programming Considerations for
the PAM Subsystem
Once your subsystem and Event Management Service (EMS) processes are running and
your management application has established communication with them, the main
business of your management application is to format and send commands, decode
responses and act on the results, and interpret event messages and act on their
information.
The SPI Programming Manual provides general instructions for formatting commands
and decoding responses and event messages. This section summarizes Subsystem
Programmatic Interface (SPI) programming and describes SPI programming
considerations for the PAM subsystem.
Definition Files
The commands, responses, and event messages sent to and received from the PAM
subsystem are made up of tokens. Tokens and related data items for commands,
responses, and event messages must be declared in your management applications.
Tandem provides these declarations in definition files for you to use with your
application.
A set of definition files is provided as part of each Tandem subsystem that supports
Distributed Systems Management (DSM); a few other Tandem software components
(such as SPI and EMS) also provide definition files. Each such software component
includes six definition files, in the following languages:
•
Transaction Application Language (TAL)
•
Tandem 1985 standard COBOL (COBOL85)
•
The C language
•
Tandem Advanced Command Language (TACL)
•
The Pascal language
•
Data Definition Language (DDL)
The DDL is the source from which the other five definition files are derived.
To use the definitions from a particular source, your management application program
must copy in, or load, the definition file associated with the source code in the
appropriate programming language. Include definition files in your program using
whatever mechanism is appropriate to the programming language:
•
?SOURCE compiler directives in TAL
•
COPY statements in COBOL85
•
LOAD commands in TACL.