Information You Should Know


This section outlines information you should know before you attempt to run the examples in this book.

Support Personnel

Most sites have personnel available to help users learn to run SAS System software. Record the name of the SAS Software Consultant, SAS Software Representative, and system administrator at your site. Also record the names of anyone else you regularly turn to for help with running SAS/GRAPH software.

Sample Programs

Most of the chapters in this book provide examples that demonstrate some of the major features of SAS/GRAPH software. To minimize the typing you must do to run the sample code yourself, the code is delivered to you through the SAS Sample Library. Depending on your operating environment, there are up to three ways that you can access the code that is in the sample library:

  • if you are viewing the sample code in SAS OnlineDoc, you can copy the code out of the OnlineDoc and paste it into the Program Editor in your SAS session. This alternative is not available if you do not have access to a Web browser in the operating environment where you are running your SAS session.

  • in most operating environments (excluding mainframe environments), you can access the sample code through the SAS Help facility. For example, from a SAS window s Help menu, you can choose SAS System Help to enter the help system. You can then choose the link for Sample SAS Programs and Applications, which takes you to the help page for the SAS Sample Library.

  • in most operating environments (excluding Windows), the SAS Sample Library may have been installed in your file system. If the SAS Sample Library has been installed at your site, ask your SAS Software Consultant where it is located.

To access the sample programs through SAS System Help or through your file system, you must understand the naming convention used for the samples. The naming convention for SAS/GRAPH samples is G pcxxxxx , where pc is the product code and xxxxx is an abbreviation of the example title. For example, the code for the first example in the GMAP Procedure chapter, Example 1 on page 1045, is stored in sample member GMPSIMPL. The sample-library member name is sometimes displayed as a footnote in the output s lower-right corner.

  • In SAS System Help, the sample programs are organized by product. Within each product category, the samples are sorted alphabetically by title. Thus, to access the code for the first example in the GMAP Procedure chapter, navigate in the help system to the SAS Sample Library page, choose SAS/GRAPH from the list of products, and then scroll to the listing "GMPSIMPL-Producing a Simple Block Map."

  • In your file system, the files that contain the sample code have file names that match the sample member names. For example, in a directory-based system, the code for sample member GMPSIMPL is located in a file named GMPSIMPL.SAS.

Note: For WebGraph samples the naming convention is GWB xxxxx .

Note: Some of the examples include LIBNAME and FILENAME statements. You must provide the name of the SAS data library or external file before running the example.

Table 1.1: Product Codes for SAS/Graph Proceedures

Procedure

Code

dsgi

DS

ganno

AN

gchart

CH

gradar

GD

gcontour

CT

gfont

FO

gimport

IP

gkeymap

KY

gmap

MP

goptions

OP

gplot

PL

gprint

PR

gproject

PJ

greduce

RD

gremove

RM

greplay

RE

gslide

SL

gtestit

IT

g3d

TD

g3grid

TG

Table 1.2: Product Codes for SAS/Graph Statements

Statement

Code

axis

AX

by

BY

footnote

FO

goptions

ON

legend

LG

note

NO

pattern

PN

symbol

SY

title

TI

Table 1.3: Product Code for SAS/Graph WebGraphs

Statement

Code

WebGraph

WB

Map Data Sets

To run the examples that draw maps, you need to know where the map data sets are stored on your system. Depending on your installation, the map data set may automatically be assigned a libref. Ask your SAS Software Consultant or system administrator where the map data sets are stored for your site.

Annotate Macros Data Set

To run the examples using Annotate macros, you need to know where the Annotate macro data set is stored on your system. Depending on your installation, the Annotate macro data set may automatically be assigned a fileref. Ask your SAS Software Consultant or system administrator where the Annotate macro data set is stored for your site.




SAS.GRAPH 9.1 Reference, Volumes I and II
SAS.GRAPH 9.1 Reference, Volumes I and II
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 342

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net