12. Report-Writer Statements : Report Setup Statements : .Output Statement--Specify File Name for a Report
 
Share this page                  
.Output Statement--Specify File Name for a Report
The .output statement specifies the file name where the report is written.
The .output statement has the following format:
.output | .out filename
The parameters for the .output statement are as follows:
filename
A file to which the formatted report is written each time the report is run. The filename parameter must follow all conventions for valid file names in the operating system.
The filename can be expressed as a variable.
$filevariable
Variable whose value is the file name. The variable is preceded by a dollar sign ($).