NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
S-8
SECURE Command
SECURE changes the security you specify for a table or protection view before it
changes the ownership. SECURE changes the security of objects, programs, and
files in the order in which you specify them.
To change the security of a partitioned Enscribe file, you must specify the primary
partition in qualified-fileset-list. SECURE then changes the security for
all partitions.
If ServerWare SMF is installed on your node, qualified-fileset-list
cannot specify any file or object on a $*.ZYS*. subvolume.
"rwep"
is a four-character string that specifies the new Guardian security for the objects and
files. (See Security on page S-11 for more information.)
Make sure the security you specify for an SQL object includes read access for users
who have write access.
If you do not specify a security string, the security of files and objects remains
unchanged.
ALLOWERRORS [ ON | OFF | num ]
specifies action when errors occur:
If you omit the ALLOWERRORS clause completely, the default is
ALLOWERRORS OFF. If you specify ALLOWERRORS but do not specify an
option, the default is ALLOWERRORS ON.
If a user-defined transaction that includes a SECURE operations is rolled back, the
SECURE operation is terminated regardless of the setting of ALLOWERRORS.
CLEARONPURGE [ ON | OFF ]
specifies whether to erase the contents of an object or file when the object or file is
purged from disk.
CLEARONPURGE does not apply to collations.
If you omit the CLEARONPURGE option, the file attribute is not changed.
CLEARONPURGE ON is the default if you specify CLEARONPURGE but omit
ON and OFF.
ON Resecure all elements of the fileset list regardless of how many errors are
encountered.
OFF Stop the operation when an error occurs.
num Resecure files and objects until the number of errors is greater than num.
ON Physically delete the data from the disk by overwriting the file space with
binary zeros.
OFF Logically deallocate the disk space but do not physically destroy the data.