SAS 9.1 Companion For Unix Enivronments

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.

Table 6.2: 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 (UPRINTER or PRINTER device type) and PRINTTO procedure

"Using the PRINTTO Procedure in UNIX Environments" on page 161

windowing environment

DMPRINT command

"Using the Print Dialog Box in UNIX Environments" on page 157

Print dialog box

"Using the Print Dialog Box in UNIX Environments" on page 157

FILENAME statement and PRTFILE, PRINT, and FILE commands

"Using PRTFILE and PRINT with a Fileref" on page 160

an external file

any mode

PRINTTO procedure and FILENAME statement

"Using the PRINTTO Procedure in UNIX Environments" on page 161

windowing environment

Print dialog box

"Using the Print Dialog Box in UNIX Environments" on page 157

FILENAME statement and PRTFILE, PRINT, and FILE commands

"Using PRTFILE and PRINT with a Fileref" on page 160

batch

LOG and PRINT system options

"Using SAS System Options to Route Output" on page 163

a UNIX command (pipe)

any mode

FILENAME statement and PRINTTO procedure

"Using the PRINTTO Procedure in UNIX Environments" on page 161

windowing environment

FILENAME statement and PRTFILE and PRINT commands

"Using PRTFILE and PRINT with a Fileref" on page 160

its usual location and to an external file

any mode

ALTLOG and ALTPRINT system options

"Using SAS System Options to Route Output" on page 163

windowing environment

FILE command

"Using the FILE Command" on page 161

   

Print dialog box

"Using the Print Dialog Box in UNIX Environments" on page 157

a terminal

batch

FILENAME statement and PRINTTO procedure

"Routing Output to a Terminal" on page 163

Категории