Chapter 15. Terminal Operators

15. Terminal Operators

In the following we describe all terminal operators currently supported.

15.1. Write-into-file operators

Analogously as in Linux/Unix, the > operator allows you to send the command results to a given file in the ReportServer virtual filesystem. The >> operator allows you to append the command results into a given file.

For example, the following would write the output of the ''columnsMetadata id:DatasourceDefinition:8005 T_AGG_CUSTOMER'' command into the ''/fileserver/results.txt'' file.

columnsMetadata id:DatasourceDefinition:8005 T_AGG_CUSTOMER > /fileserver/results.txt

The following would append the output of the ''columnsMetadata id:DatasourceDefinition:8005 T_AGG_CUSTOMER'' command into the ''/fileserver/results.txt'' file.

columnsMetadata id:DatasourceDefinition:8005 T_AGG_CUSTOMER >> /fileserver/results.txt