SPOOL

Syntax

SPOOL [<file>|OFF];

Description

If a filename is specified as a parameter, the file will be opened and the output of EXAplus saved to this file (the encoding is used which was set via commandline parameter -encoding or via the command SET ENCODING). If the file already exists, it will be overwritten. SPOOL OFF terminates saving and closes the file. By entering SPOOL without parameters, the name of spool file will be displayed.

Examples

spool log.out;
select * from table1;
spool off;