Chapter Contents


SAS/GRAPH Software: Reference


This chapter contains detailed descriptions of each command used in the DATA Step Graphics Interface (DSGI).

The commands are discussed in the following order:

  1. utility functions

  2. GASK routines

  3. GDRAW functions

  4. GRAPH functions

  5. GSET functions.

Each routine or function is followed by an alphabetical listing of the operators used with it. For each operator, this chapter provides the statement syntax, other argument definitions, and notes about using the functions and routines, operating states, and return codes. Operating states are summarized in Operating States.

The syntax for all routines and functions contains the argument return-code-variable. This argument must be a numeric variable name and can be a different variable name for each routine.

The return-code-variable argument is used to debug DSGI programs. It contains the return code of the routine or function call. If the return code is any value other than 0, the routine or function did not execute properly.

Each routine and function has a different set of possible return codes. The return codes are listed in the heading for the routine or function. Refer to Return Codes for DSGI Routines and Functions for an explanation of the return codes.

Operating States

This list summarizes the operating states in DSGI. For a detailed discussion of operating states, see Operating States.
GKCL facility closed, initial state of DSGI.
GKOP facility open. DSGI is open. You may check the settings of attributes.
SGOP segment open. Graphics output can be generated.
WSAC workstation active. You can issue DSGI statements.
WSOP workstation open. The graphics catalog is opened or created.

Utility Functions

Utility functions enable you to initialize a session for DSGI, print error messages, and terminate the session.

Chapter Contents



Top of Page

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