DEVICE= System Option

Specifies the device driver to which SAS/GRAPH sends procedure output.
Valid in: Configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Graphics: Driver settings
PROC OPTIONS GROUP= GRAPHICS
Alias: DEV=
Requirement: This option is required for the LISTING destination when you run SAS in a non-interactive mode.
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.
See: DEVICE System Option: UNIX in SAS Companion for UNIX Environments,

DEVICE System Option: Windows in SAS Companion for Windows

DEVICE= System Option: z/OS in SAS Companion for z/OS

Syntax

Syntax Description

device-driver-specification
specifies the name of a device driver.

Details

If you omit the device-driver name, the Output Delivery System selects a device driver for the opened destinations. If you specify a device that is not compatible with the opened destinations, the Output Delivery System selects a device that is valid. If you enter an invalid device driver, SAS prompts you to enter a device driver when you execute a procedure that produces graphics.
A best practice is to let the Output Delivery System select the device driver, except when you use the LISTING destination. When the LISTING destination is open, the default device is the Graph window.

See Also

Using Graphics Devices in SAS/GRAPH: Reference