User`s guide

CREATE
(DUP)
Creates or extends a file with a specific name, location, and size on the random-access
volume you specify.
Format
CREATE filespec
Filespec Options
/EXTENSION
/START:value
/ALLOCATE:size
Parameter
filespec
Specifies the file you wish to create or extend. You must specify both the file
name and type.
Description
When you create a file with the CREATE command, it creates only a directory entry
for the file. This command does not store any data in a file.
If you attempt to create a file over a tentative file (one that was opened but never
closed) and the foreground job is loaded, RT–11 prompts you to confirm the operation.
If you type Y to continue, the tentative file will be written over. Be sure that you
do not write over a tentative file being used by the foreground job, since this will
corrupt the file and cause unpredictable results.
Options
/ALLOCATE:size
Allocates the number of blocks you specify for the file you are creating; size
represents a decimal number of blocks. A value of -1 indicates a file of the
maximum size available on the volume. A value of 0 indicates a file of 0 blocks;
this command can create a file of 0 blocks. If you do not use /ALLOCATE, RT–11
assumes one block.
/EXTENSION:value
Extends an existing file by the number of blocks you specify; value is a decimal
number of blocks. When you use this option following the file specification, make
58 RT–11 Command Descriptions