Safeguard Management Programming Manual (G06.29+, H06.08+, J06.03+)

Safeguard Management Programming Manual422086-028
7-1
7 Commands
This section describes the syntax and semantics for all commands and responses in
the programmatic control-and-inquiry interface. Using these commands, a Safeguard
management application program can perform the following functions:
Add and delete certain objects
Start and stop the operation of some objects
Determine or change the attribute values of certain objects
Obtain statistical and status information for certain objects
In this section, command numbers, object types, and all tokens and their values are
expressed in DDL. For an explanation of DDL, refer to the SPI Programming Manual.
Commands by Object Type
Table 7-1 lists the supported SPI commands, their equivalent SAFECOM commands,
and their functions.
Table 7-1. SPI and SAFECOM Commands
SPI
Command
SAFECOM
Command Description
ACTIVATE THAW Thaws user and object protection records.
ADD ADD Defines a user or object to the subsystem.
ALTER ALTER Alters user or object attributes.
DELETE DELETE Removes a user or object protection record from the
subsystem.
GETVERSION None Returns an object's version banner.
INFO INFO Returns a user's or object's current attribute values
LISTOBJECTS None Returns the names and types of various objects.
LISTOPENS None Returns the process IDs of an object's openers.
LOAD SYNC Creates a diskfile pattern record using the saved-diskfile-
pattern record.
RELEASE RELEASE Recycles a file (DELETE followed by create) in an audit
pool.
START None Starts a Safeguard terminal.
STATUS None Returns an object's status information.
STOP STOP Stops the operation of an object.
SUSPEND FREEZE Freezes user and object protection records.
SWITCH NEXTFILE Closes the active audit file and opens the next in sequence.