SAVE CLPPlus command

The SAVE line-editor command stores the contents of the SQL buffer in a new or existing file.

Invocation

You must run this command from the CLPPlus interface.

Authorization

None

Required connection

None

Command syntax

Read syntax diagramSkip visual syntax diagramSAVESAVpathfilename CREATECREREPLACEREPAPPENDAPP

Command parameters

path
Specifies the path, either absolute or relative, to the file used. If no path is specified, the current directory is used.
filename
Specifies the name of a file to which the buffer contents are written. If you do not provide a file extension, the .sql extension is used.
CREATE | CRE
Creates the specified file if it does not exist.
REPLACE | REP
Overwrites the specified file.
APPEND | APP
Adds the contents of the SQL buffer to the end of the specified file.