Creates a file that can be used as a page, swap, or dump file. Normally, this command is used indirectly by executing the command procedure SYS$UPDATE:SWAPFILES. Format CREATE file-spec
1 – Parameter
file-spec The name of the file to be created.
2 – Qualifiers
2.1 /CONTIGUOUS
/CONTIGUOUS /NOCONTIGUOUS Specifies that the created file is either to be contiguous (/CONTIGUOUS) or contiguous-best-try (/NOCONTIGUOUS). The Primitive File System used during OpenVMS bootstrap limits the page, swap, and dump files to one file header. Because of this restriction, OpenVMS cannot be reliably bootstrapped from a bound volume set and is not supported on a bound volume set.
2.2 /SIZE
/SIZE=block-count Specifies the size in blocks of the file to be created.
3 – Example
SYSGEN> CREATE DISK$PAGE:[NODE1]PAGEFILE.SYS /SIZE=200000 This command creates a file called PAGEFILE.SYS on the disk DISK$PAGE: in directory [NODE1]. This file is created as a contiguous-best-try file, which is the default. SYSGEN creates the file with 200,000 blocks, or allocates as many blocks on the disk as it can and displays a message warning that the file does not have the full allocation specified with the CREATE command. The file will not be used for paging or swapping until you use the SYSGEN command INSTALL specifying the file and how it is to be used.