Previous Page | Next Page

Printing and Routing Output

Changing the Default Routings in UNIX Environments


Techniques for Routing Output

There are four primary methods for routing your output:


Determining Which Technique to Use When Changing the Routing

Use the following table to help you decide which method you should choose to change the routing.

Decision Table: Changing the Default Destination
Output destination for your SAS log or procedure output Processing mode Method See
a printer any mode FILENAME statement (UPRINTER or PRINTER device type) and PRINTTO procedure Using the PRINTTO Procedure in UNIX Environments

windowing environment DMPRINT command Using the Print Dialog Box in UNIX Environments


Print dialog box Using the Print Dialog Box in UNIX Environments


FILENAME statement and PRTFILE, PRINT, and FILE commands Printing the Contents of a Window
an external file any mode PRINTTO procedure and FILENAME statement Using the PRINTTO Procedure in UNIX Environments

windowing environment Print dialog box Using the Print Dialog Box in UNIX Environments


FILENAME statement and PRTFILE, PRINT, and FILE commands Printing the Contents of a Window

batch LOG and PRINT system options Using SAS System Options to Route Output
a UNIX command (pipe) any mode FILENAME statement and PRINTTO procedure Using the PRINTTO Procedure in UNIX Environments

windowing environment FILENAME statement and PRTFILE and PRINT commands Printing the Contents of a Window
its usual location and to an external file any mode ALTLOG and ALTPRINT system options Using SAS System Options to Route Output

windowing environment FILE command Using the FILE Command


Print dialog box Using the Print Dialog Box in UNIX Environments
a terminal batch FILENAME statement and PRINTTO procedure Routing Output to a Terminal

Previous Page | Next Page | Top of Page