MF - modify the attributes of a file.

Usage:

acce mf filename[ option]*

Options:

Blocks/max/ or LLINKS/max/
changes the maximum size of the file to the integer "max" llinks. If "max" is the character string "unlmtd", the maximum size will be unlimited.
Links/max/ or Size/max/
is the same as LLINKS and Blocks, except that allocation is in Links (12 Llinks).
MODE/mode/
changes the mode of the file. If "mode" is "s", the new mode is sequential. If "mode" is "r", the new mode is random.
NEWNAM/name/ or NAME/name/
changes the name of the file to "name"; this must be 12 characters or less.
PASS/passwd/
changes the password to "passwd"; this password must be 12 characters or less. The default is no change. To remove a password, specify "pass//".
permission
specifies a general permission, applicable to all users except those with specific permissions. "Permission" is one of those described in "expl access permission".
permission/userid,...,userid/
specifies a specific permission that will be applied to the userid or list of userids separated by commas given inside the slashes. "Permission" is one of those described in "expl access permission".
SUBSYS/name/ [LODX] [TALK] [CARD] [LODS]
encodes the user-specified information word with information for the TSS command loader. If the file is executed, it will acquire the privileges of the TSS system-edited command "name". If any combination of the TSS user permissions is also specified, a user must have those permissions to execute the file.
USE/name/
encodes the user-specified information word with information for the TSS command loader. The difference between SUBSYS and USE is that SUBSYS should be applied to random files while USE is applied to sequential ones. USE indicates which command processor should be used to interpret the file. Currently the command loader recognizes CRUN, EXEC and FRED.
USI/nnn/ or LRS/nnn/
lets you specify a value for the user-specified information word. If the "nnn" is preceded by the letter "o", it is intepreted as an octal number; otherwise, it is interpreted as decimal. Octal values cannot be used with LRS.
V
calls CLIST so you can verify the modifications.

Examples:

acce mf afile newnam/afile.c/ llinks/200/
changes the name of "afile" to "afile.c" and alters the maximum size to 200 llinks.
acce mf /cat/afile llinks/unlmtd/ read
modifies "afile" under the catalog "cat" under the current userid to have an unlimited maximum size and general read permission.
acce mf fbaggins/afile m/bbaggins/ r/user1,user2/ mode/r/
modifies "afile" under the userid "fbaggins" so that the mode is random, gives specific MODIFY permission to "bbaggins", and gives specific READ permission to the userids "user1" and "user2".

See Also:

expl access efso - extended file system options.

expl access perm - permission types.

expl clist

Copyright © 1996, Thinkage Ltd.