EXTENSION

Specifies the file extension for an external graphics file.
Used by: GOPTIONS statement
Default: device-dependent
Restriction: not supported by Java or ActiveX
See: GACCESS

GSFNAME

Syntax

EXTENSION='file-type'

Parameter Values

file-type
a string up to eight characters long that is a file extension, such as GIF or CGM, that you want to append to an external file.

Details

The extension specified on EXTENSION= is used when the output destination is a storage location. The extension is ignored when the output destination is a file. To specify the output destination, you can use a FILENAME statement, or the graphics options GACCESS= or GSFNAME=.
Assuming that the output destination is a storage location,
  • if EXTENSION='.', no extension is added to the filename
  • if EXTENSION=' ' or EXTENSION= is not used, the driver's default extension is added to the filename
  • if the driver has no default extension, SAS/GRAPH uses the default extension .GSF.