FILE/{PART|TXT[,file#][,'filespec']}[,LINNO][,IFERR,label:]
This statement saves a copy a part file or a text file without terminating the part or scratch file.
Parameter |
Description |
PART |
Minor word that indicates that the file to be saved is the current work part file. |
TXT |
Minor word that indicates that the file to be saved is the text file which is currently in the specified scratch file. The line pointer will reset to the top of the file after it has been saved. |
file# |
The number of the scratch file which is to be saved. This parameter may be used only if the file is a text file. Ten scratch file areas are available, therefore, the specified number must be between 1 and 10.
|
'filespec' |
The optional filespec parameter. If a filespec is not specified the file will be saved with the name with which it was created or fetched. If you specify an existing file, then a "File already exists" message occurs.
|
LINNO |
Minor word which indicates that the text file should be filed with the editor's line numbers. |
IFERR,label: |
Specifies a label to which the program jumps if an error occurs. |