Creating a New File
There are many ways to create a new file under CMS. The most common method is with the editor.
To create a new file called NEW FILE A and store it on your A disk,
you would enter the following command either from the command line
within the FILELIST display, or from the command line of CMS:
xedit new file a
A
new, empty file called NEW FILE A would be displayed for your input.
After your modifications were complete, you would file
the
new file for later retrieval.Note: When a file is created using XEDIT, the editor assumes many
default characteristics. These will be discussed in More on the CMS File System.
For more information on using XEDIT to create files, see z/VM: XEDIT User's Guide.
A few other methods of creating a new file are:
- Use the COPYFILE command to create a new file from an existing file.
- Modify an existing file and
file
orsave
it under a new name. - For SFS users, the CREATE FILE command can be used which includes many formatting options. For more information, see Creating New Files.