Difference between revisions of "SETPROT()"
From Lianjapedia
(→Products) |
Yvonne.milne (Talk | contribs) m (1 revision) |
(No difference)
|
Revision as of 05:57, 25 October 2011
Purpose
Function to change current file-protection mask
Syntax
SETPROT(<expC>)
See Also
GETPROT(), CREATE, MODIFY STRUCTURE
Description
The SETPROT() function changes the current file protection mask. The argument to SETPROT() is an <expC> in the same form that is returned by the GETPROT() function. This string is known as the file protection mask. It is the same on all systems, however on non-OpenVMS platforms, the 'System' mask and the 'Delete' item mask are ignored.
Example
old_mask = getprot() setprot("S:RWED,O:RWED,G:RW,W") use accounts setprot(old_mask)
Products
Recital, Recital Server