Chapter Contents

Previous

Next
SAS Companion for UNIX Environments

Changing the Default Routings

There are four primary methods for routing your output:

For example, you can send output directly to a printer by

You can send log or procedure output to an external file by

Use Decision Table: Changing the Default Destination to help you decide which method you should choose to change the routing.

Decision Table: Changing the Default Destination
To route your SAS log or output to... Using this mode of processing... Use this method... See...
a printer any mode FILENAME statement (PRINTER device type) and PRINTTO procedure Using the PRINTTO Procedure

interactive modes FILENAME statement (XPRINTER device type) and PRINTTO procedure Routing Output to an XPRINTER Device

windowing environment PRINT command and FORM subsystem Using the PRINT Command with Forms


Print dialog Using the Print Dialog Box


FILENAME statement and PRTFILE and PRINT commands Using PRTFILE and PRINT with a Fileref
an external file any mode PRINTTO procedure Using the PRINTTO Procedure

interactive modes FILENAME statement (XPRINTER device type) and PRINTTO procedure Routing Output to an XPRINTER Device

windowing environment Print dialog Using the Print Dialog Box


FILENAME statement and PRTFILE and PRINT commands Using PRTFILE and PRINT with a Fileref

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

windowing environment FILENAME statement and PRTFILE and PRINT commands Using PRTFILE and PRINT with a Fileref
its usual location and to an external file any mode ALTLOG and ALTPRINT system options Using SAS System Options

windowing environment FILE command Using the FILE Command


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


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.