CF - create file.
Usage:
acce cf filename[ option]*
Options:
- Blocks/init[,max]/ or LLINKS/init[,max]/
- sets the initial size to the integer "init" and
the maximum size to the integer "max". If
"max" is not given, an unlimited maximum size
is assumed. The default is one llink initial size,
unlimited maximum size.
- Links/init[,max]/ or Size/init[,max]/
- is the same as LLINKS and Blocks, except that allocation
is in Links (12 Llinks).
- MODE/R/
- makes the mode of file random. The default is to make the
mode sequential (linked).
- permission
- specifies a general permission, applicable to all users
except those with specific permissions.
"Permission" is one of those described in
"expl access permission".
The default is to create the file with no general
permissions.
- 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". The default is to create the file
with no specific permissions.
- PASS/passwd/
- sets the initial password to "passwd"; this
password must be 12 characters or less. The default is to
create the file with no password.
- DEVICE/dvc/
- forces the file to be allocated on a particular device
(e.g. "st1") or type of mass storage device
(e.g. "ms0450"). Normally, you omit this option
and let the file system decide where to put the file.
- 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 privileges 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/
-
- LRS/nnn/
- lets you provide 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 to verify the file create and options.
Examples:
- acce cf afile
- creates "afile" under the current userid as a
sequential file with an initial size of one llink, an
unlimited maximum size, no password, and no general or
specific permissions.
- acce cf /cat/afile llinks/20/ read
- creates "afile" under the catalog
"cat" under the current userid as a sequential
file with an initial size of 20 llinks, an unlimited
maximum size, and general read permission.
- acce cf fbaggins/afile m/bbaggins/ r/user1,user2/ mode/r/
- creates "afile" under the userid
"fbaggins" as a random file, with an initial
size of one llink and an umlimited maximum size, giving
specific MODIFY permissions to userid
"bbaggins" and 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.