Chapter Contents

Previous

Next
The GDEVICE Procedure

MODIFY Statement


Changes the values in a device entry.

Requirements: You must have write access to the current catalog to modify a device entry, and use CATALOG= in the PROC GDEVICE statement.
Restriction: Not valid in browse mode.
See also: Creating or Modifying Device Entries
Featured in: Creating a Custom Device Entry with Program Statements


MODIFY device-entry
parameter(s);


Required Arguments

device-entry
specifies the one-level name of the device entry that you want to modify. The entry must exist in the current catalog.

parameter(s)
are the parameters you want to modify. These can be any of the parameters listed in the ADD statement, whether listed as required or optional for ADD. See ADD Statement for a complete list. Refer to Graphics Options and Device Parameters Dictionary for a description of each parameter.


Details

To modify a device entry, create your own catalog and then copy the device entries you need into it. You can then change your personal copies of the device entries without affecting the original drivers in SASHELP.DEVICES. (To copy device entries, use the COPY statement, the COPY command available after you choose Import Device Entry from the DIRECTORY window's File menu, or the CATALOG procedure, which is part of base SAS.

CAUTION:
Be careful when modifying device entries in program mode. In program mode, you cannot cancel any modifications you have just made. To change a value you have modified, you must use another MODIFY statement to replace the original value or reset it to its default. (In the GDEVICE windows, you can type the CANCEL command in the command line to cancel changes you have made to the fields.)  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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