The GDEVICE Procedure |
Requirements: | You must have write access to the device catalog in order to add entries, and use CATALOG= in the PROC GDEVICE statement. |
Restriction: | Not valid in browse mode. |
ADD device-entry
required-parameters <optional-parameters>; |
Required Arguments |
specifies the one-level name of the new device entry. New-device-entry must be a valid name for a SAS catalog entry for your operating environment and cannot already exist in the current catalog.
specify the required parameters for the device. All of the required parameters for the ADD statement correspond to device parameters of the same name. Refer to Graphics Options and Device Parameters Dictionary for a description of each parameter.
Options |
All optional parameters for the ADD statement correspond to device parameters of the same name. Refer to Graphics Options and Device Parameters Dictionary for a description of each parameter.
Note: The COLORS= device parameter is not required; the device entry is created even if you do not specify it. However, the GDEVICE procedure issues an error message if you do not specfy at least one color for the COLORS= option.
Best Practice |
The best way to add a new driver is to copy an existing driver and modify the parameters. The ADD statement initializes all the parameter values to NULL, and you have to set values for all of the parameters to something other than NULL.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.