Chapter Contents

Previous

Next
FILECLOSE

FILECLOSE



Controls when the graphics stream file (GSF) is closed when you are using the device driver to send graphics output to a hardcopy device.

Used in: GOPTIONS statement; GDEVICE procedure; GDEVICE Host File Options window
Default: DRIVERTERM (if a device is specified)
See also: About Exporting SAS/GRAPH Output


Syntax

Syntax

FILECLOSE=DRIVERTERM | GRAPHEND

DRIVERTERM
DRIVER
closes the GSF and makes it available to the device after all graphs have been produced and the procedure or driver terminates. A host command may be needed to actually send the GSF to the device. Host commands may be specified with the DRVINIT or DRVTERM parameters or entered in the Host File Options window of the device entry.

If multiple graphs are produced by a procedure, this specification creates one large file. Specifying DRIVERTERM is appropriate for batch processing because it is slightly more efficient to allocate the file only once.

GRAPHEND
GRAPH
closes the GSF after each separate graph is produced and releases it to the device before sending another. This method creates smaller files if multiple graphs are produced by a procedure. You can specify a command that sends the graph to the device with the POSTGRAPH parameter or use the Host File Options window.

Specifying GRAPHEND is appropriate for drivers that are used interactively, or for devices that require only one graph per physical file.


Chapter Contents

Previous

Next

Top of Page

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