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

Commands
Safeguard Management Programming Manual422086-028
7-6
ACTIVATE PROTECTIONRECORD Command
Error-Handling Notes
ZSPI-TKN-RETCODE
is the standard SPI return code token, whose value is a number identifying
successful completion (ZCOM-ERR-OK), an informational warning, or an error.
These errors or warnings can occur in response to the ACTIVATE PROTECTION
command:
ZCOM-ERR-FS-ERR
is returned when a file-system error occurs while accessing the
$volume.SAFE.GUARD file, accessing the $SYSTEM.SAFE.OTHER file,
accessing the file being protected, or while updating the audit file. The file
system error list describes the file-system error, the file-system procedure, and
the file in question.
ZCOM-ERR-NO-MEM-SPACE
is returned when the Security Manager Process (SMP) cannot obtain memory
to service the ACTIVATE request. Normally, this error should not occur, and it
should be transient if it does occur.
ZCOM-ERR-OBJ-NOT-FOUND
is returned if the protection record ZCOM-TKN-OBJNAME does not exist.
ZCOM-ERR-OBJNAME-INV
is returned if the specified protection record name ZCOM-TKN-OBJNAME is
invalid.
ZCOM-ERR-SECUR-VIOL
is returned if the requestor's process access ID does not have authority to
perform the ACTIVATE PROTECTION. For the rules for who can manage
object security, see the Safeguard Reference Manual.
ZCOM-ERR-SPI-ERR
is returned if one of the procedures (for example, SSGETTKN) returned an
error. The SPI error list defines the procedure in error, the error status, and the
token involved.
ZCOM-ERR-TKN-CODE-INV
is returned if an invalid, foreign, or unsupported token was found. The error list
identifies the invalid token.