7.1.5 Control Report Options
If you have selected "Report" as the location for your query's output, there are two ways you can ensure that report output goes to the default printer rather than to a report window.
These are:
- specifying a value of P for 'Output to Report' RPTO parameter with the command.
- specifying the required output options using the LANSA Client commands when the query is defined.
Using the OUTPUT TO REPORT Parameter
The RPTO parameter is used to control the output of the query if you have selected Report as the location for your query's output.
For example, by including either:
RPTO=W or RPTO=w
you would force all report output to go to a window, even if the query definition specifies the report output is to go to a printer.
By including either:
RPTO=P or RPTO=p or /p
you would force all report output to go to the (default) printer, even if the query definition specifies the report output is to go to a window.
Using the LANSA Client Commands
You do not need to include the RPTO parameter if you specify that the query's output is to be a Report and it is to be printed by the default printer attached to your workstation.
You do this by selecting Report as the Output To option and then specifying that the default printer is to be used in the Output to Report Options dialog box. Refer to
for more information.Further Information