SAS.GRAPH 9.1 Reference, Volumes I and II

Macro Arguments

Macro arguments specify the configuration of the HTML output file, the location of the data that is used to generate the diagram, and the configuration of the applet s interactive features.

The macros use the following syntax:

The macro arguments can be divided into arguments used by all macros, arguments used by the DS2CSF macro, and arguments used by the META2HTM macro. The following arguments apply to all macros:

The following arguments apply only to the DS2CSF macro:

The following arguments apply only to the META2HTM macro:

Arguments for the APPLET Tag

The following arguments configure the APPLET tag in the HTML output file. The CODEBASE argument is required.

AHUNITS=PIXELS PERCENT

ALIGN= position

ALT= text

ARCHIVE= filename

AWUNITS=PIXELS PERCENT

CODEBASE= path-or-URL

HEIGHT= applet-height

HSPACE= pixels

NAME= applet-name

VSPACE= pixels

WIDTH= applet-width

DS2TREE and DS2CONST Arguments for Data Definition

The following arguments for the DS2TREE and DS2CONST macros define how the applet will use the data set to generate the node/link diagram.

For DS2TREE the arguments NDATA and NID are required.

For DS2CONST the arguments NDATA, NID, LDATA, and LTO are required.

DATATYPE=ARCS ASSOC HIER

LABELS=Y N

LAYOUT=AUTO USER

LCOLOR= variable-name

LCOLFMT= user-defined-format-name

LCOLVAL= variable-name

LDATA= data-set-name

LFROM= variable-name

LINKTYPE=LINE ARROW

LPT= password

LSTIP= variable-name

LSTIPFAC= variable-name

LTIP= variable-name

LTIPFMT= user-defined-format-name

LTO= variable-name

LVALUE= variable-name

LWHERE= subset-expression

LWIDTH= variable-name

MINLNKWT= minimum-link-weight

NACTION= variable-name

NCOLFMT= SAS-format-name

NCOLOR= variable-name

NCOLVAL= variable-name

NDATA= SAS-data-set-name

NFNTNAME= node-font-variable-name

NFNTSIZE= variable-name

NFNTSTYL= node-font-style-variable-name

NID= variable-name

NLABEL= node-label-variable-name

NPARENT= node-parent-variable-name

NPW= password

NSCBACK= variable-name

NSCTEXT= variable-name

NSDATA= SAS-data-set-name

NSFNTNAM= variable-name

NSFNTSIZ= variable-name

NSFNTSTY= variable-name

NSHAPE= variable-name

NSID= variable-name

NSIZE= variable-name

NSPW= password

NSTYLE= variable-name

NSWHERE= subset-expression

NTEXTCOL= variable-name

NTIP= variable-name

NTIPFMT= user-defined-format-name

NURL= drill-down-URL

NVALUE= variable-name

NWHERE= subset-expression

NX= variable-name

NY= variable-name

Arguments for Generating HTML and XML Files

The following arguments determine the name, storage location, and file makeup of Web presentations that run in the Constellation Applet or the Treeview Applet.

HTMLFILE= external-filename

HTMLFREF= fileref

MAKEHTML=Y N

MAKEXML=Y N

OPENMODE=REPLACE APPEND

RUNMODE=B S

XMLFILE= external-filename

XMLFREF= fileref

XMLTYPE=INLINE EXTERNAL

XMLURL= URL

DS2TREE and DS2CONST Arguments for Diagram Appearance

The following arguments for the DS2TREE and DS2CONST macros specify non-default behavior and appearance of the node/link diagram in the respective applet.

None of the following arguments are required.

ACTION= text

ANGLE= link-angle

BORDER=Y N

CATEXT= default-text-color

CBACK= color

CHANDLE= color

CLINK= default-link-color

CNODE= color

CNODE= default-node-color

COLORMAP=N Y

CSELECT= color

CUTOFF= detail-percentage

DEPTH= max-path-length

DRILTARG= target-window-or-frame

DUPCHECK=TRUE FALSE

FACTOR= fish-eye-distortion-factor

FISHEYE=Y N

FNTNAME= default-node-label-font

FNTSIZE= node-font-size

FNTSTYL= node-font-style

IBACKLOC= image-URL

IBACKPOS=CENTER SCALE TILE POSITION

IBACKURL= background- drilldown -URL

IBACKX= corner-coordinate

IBACKY= corner-coordinate

NODEBDR=LINE NONE FILL OUTLINE

NODESEP= character(s)

NODESHAP= shape

RBSIZING=Y N

SCLNKWT=Y N

SCLWIDTH=Y N

SCNSIZE=Y N

SELIFUNC= JavaScript-method-name

SELLFUNC= JavaScript-method-name

SELUFUNC= JavaScript-method-name

SHOWLINKS=Y N

SPREAD= angular-factor

TIPS=Y N

TIPTYPE=TRACKING STATIONARY

TREEDIR=C D L R U

TREESPAN= angular-diagram-width

ZOOM= starting-percentage

Arguments for Page Formatting

The following arguments format the HTML output file. The rendering of some of these arguments may vary in certain browsers. Several of the following arguments apply only to certain macros, as noted in the descriptions of the arguments.

The BGTYPE=, BRTITLE=, CENTER=, CTEXT=, and DOCTYPE= arguments apply to the entire page for the current invocation of the macro. If you append data to an existing HTML page, then the HTML formatting will not change. You may want to use these arguments only when you replace, rather than append, HTML files.

BDCLASS= body-stylesheet-name

BG= color-or-image

BGTYPE=NONE COLOR IMAGE

BRTITLE= browser-window-title

CENTER= Y N

CTEXT= default-text-color

DOCTYPE= DOCTYPE-tag

ENCODE=Y N

PAGEPART=ALL HEAD BODY FOOT

SASPOWER= logo-image-file

SEPCLASS= page-separator-stylesheet

SEPLOC= separator-image

SEPTYPE= IMAGE NONE RULE

SPCLASS= logo-stylesheet-name

Arguments for Stylesheets

DS2CONT, DS2TREE, DS2CSF, and META2HTM enable the following arguments for style sheet specifications in the HTML output file. See also the BDCLASS=, SEPCLASS=, and SPCLASS= arguments in Arguments for Page Formatting on page 552.

Style sheet arguments reference style information in one of two ways. Most of the arguments specify parameters in the HTML LINK tag:

<LINK HREF="1qtr98.css" TYPE="text/css" REL="stylesheet">

Use these arguments when you do not want to enter your style information directly into your HTML file when you create that file.

Other arguments embed the style information into the header of the HTML file. Use these arguments when you want to collect style information from multiple style sheets. The end result must create a complete STYLE tag in your HTML file.

You can combine LINK tag arguments with arguments that embed style information, but you cannot use the same ordinal number in two arguments. For example, you can specify the arguments SSHREF1= and SSFILE2=, but you cannot specify SSHREF1= and SSFILE1=.

The following arguments link to two different style sheets and include text comments for each stylesheet.

ssfile1=comments1.txt, /* embeds text */ sshref2=/style/style1.css, /* links to stylesheet */ sstype2=text/css, /* parameters for style sheets */ ssrel2=stylesheet, ssfile3=comments2.txt, /* embeds text */ sshref4=/style/style2.css, /* link to stylesheets */ sstype4=text/css, ssrel4=stylesheet,

SSFILE1 “SSFILE5= file-specification

SSFREF1 “SSFREF5= fileref

SSHREF1 “SSHREF5= style-sheet-URL

SSMEDIA1 “5= media

SSREL1 “5= relationship

SSREV1 “5= relationship

SSTITLE1 “5= title-of-linked-page

SSTYPE1 “5= stylesheet-type

Arguments for the SAS TITLE and FOOTNOTE Tags

The following arguments determine the content and appearance of the SAS TITLE and FOOTNOTE tags in the HTML output file.

FCLASS= footnote-style-sheet-name

TCLASS= title-style-sheet-name

FCOLOR= footnote-text-color

TCOLOR= title-text-color

FFACE= footnote-text-font

TFACE= title-text-font

FSIZE= n + n “ n

TSIZE= n + n “ n

FTAG= tag-string

TTAG= tag-string

For each possible value of the TTAG= and FTAG= arguments, the following table shows the HTML tags that are generated by the macro for the SAS TITLE and FOOTNOTE lines (the corresponding end tags are generated automatically):

TTAG or FTAG Value

HTML Tag or Tags Enclosing the SAS TITLE or SAS FOOTNOTE

NO FORMATTING

(none)

STRONG

<STRONG>

EMPHASIS

<EM>

HEADER 1

<H1>

HEADER 2

<H2>

HEADER 3

<H3>

HEADER 4

<H4>

HEADER 5

<H5>

HEADER 6

<H6>

PREFORMATTED TEXT

<PRE>

CITATION TEXT

<CITE>

COMPUTER CODE TEXT

<CODE>

KEYBOARD INPUT TEXT

<KBD>

LITERAL TEXT

<SAMP>

VARIABLE TEXT

<VAR>

BOLD

<B>

ITALICIZED TEXT

<I>

UNDERLINE TEXT

<U>

TYPEWRITER

<TT>

BIG TEXT

<BIG>

SMALL TEXT

<SMALL>

STRIKE OUT TEXT

<STRIKE>

DEFINING INSTANCE TEXT

<DFN>

PREFORMATTED + STRONG

<PRE><STRONG>

PREFORMATTED + EMPHASIS

<PRE><EM>

PREFORMATTED + HEADER 1

<PRE><H1>

PREFORMATTED + HEADER 2

<PRE><H2>

PREFORMATTED + HEADER 3

<PRE><H3>

PREFORMATTED + HEADER 4

<PRE><H4>

PREFORMATTED + HEADER 5

<PRE><H5>

PREFORMATTED + HEADER 6

<PRE><H6>

PREFORMATTED + CITATION

<PRE><CITE>

PREFORMATTED + COMPUTER CODE

<PRE><CODE>

PREFORMATTED + KEYBOARD INPUT

<PRE><KBD>

PREFORMATTED + LITERAL

<PRE><SAMP>

PREFORMATTED + VARIABLE

<PRE><VAR>

PREFORMATTED + BOLD

<PRE><B>

PREFORMATTED + ITALICIZED

<PRE><I>

PREFORMATTED + TYPEWRITER

<PRE><TT>

PREFORMATTED + UNDERLINE

<PRE><U>

PREFORMATTED + BIG

<PRE><BIG>

PREFORMATTED + SMALL

<PRE><SMALL>

PREFORMATTED + STRIKE OUT

<PRE><STRIKE>

PREFORMATTED + DEFINING INSTANCE

<PRE><DFN>

STRONG + EMPHASIS

<STRONG><EM>

STRONG + ITALICIZED

<STRONG><I>

STRONG + CITATION

<STRONG><CITE>

STRONG + COMPUTER CODE

<STRONG><CODE>

STRONG + KEYBOARD INPUT

<STRONG><KBD>

STRONG + LITERAL

<STRONG><SAMP>

STRONG + VARIABLE

<STRONG><VAR>

STRONG + TYPEWRITER

<STRONG><TT>

STRONG + BIG

<STRONG><BIG>

STRONG + SMALL

<STRONG><SMALL>

EMPHASIS + CITATION

<EM><CITE>

EMPHASIS + COMPUTER CODE

<EM><CODE>

EMPHASIS + KEYBOARD INPUT

<EM><KBD>

EMPHASIS + LITERAL

<EM><SAMP>

EMPHASIS + VARIABLE

<EM><VAR>

EMPHASIS + TYPEWRITER

<EM><TT>

EMPHASIS + BIG

<EM><BIG>

EMPHASIS + SMALL

<EM><SMALL>

BOLD + EMPHASIS

<B><EM>

BOLD + ITALICIZED

<B><I>

BOLD + CITATION

<B><CITE>

BOLD + COMPUTER CODE

<B><CODE>

BOLD + KEYBOARD INPUT

<B><KBD>

BOLD + LITERAL

<B><SAMP>

BOLD + VARIABLE

<B><VAR>

BOLD + TYPEWRITER

<B><TT>

BOLD + BIG

<B><BIG>

BOLD + SMALL

<B><SMALL>

ITALICIZED + CITATION

<I><CITE>

ITALICIZED + COMPUTER CODE

<I><CODE>

ITALICIZED + KEYBOARD INPUT

<I><KBD>

ITALICIZED + LITERAL

<I><SAMP>

ITALICIZED + VARIABLE

<I><VAR>

ITALICIZED + TYPEWRITER

<I><TT>

ITALICIZED + BIG

<I><BIG>

ITALICIZED + SMALL

<I><SMALL>

STRONG + EMPHASIS + BIG

<STRONG><EM><BIG>

STRONG + CITATION + BIG

<STRONG><CITE><BIG>

STRONG+ COMPUTER CODE + BIG

<STRONG><CODE><BIG>

STRONG+KEYBOARDINPUT+BIG

<STRONG><KBD><BIG>

STRONG + LITERAL + BIG

<STRONG><SAMP><BIG>

STRONG + VARIABLE + BIG

<STRONG><VAR><BIG>

STRONG + TYPEWRITER + BIG

<STRONG><TT><BIG>

EMPHASIS + CITATION + BIG

<EM><CITE><BIG>

EMPHASIS + COMPUTER CODE + BIG

<EM><CODE><BIG>

EMPHASIS + KEYBOARD INPUT + BIG

<EM><KBD><BIG>

EMPHASIS + LITERAL + BIG

<EM><SAMP><BIG>

EMPHASIS + VARIABLE + BIG

<EM><VAR><BIG>

EMPHASIS + TYPEWRITER + BIG

<EM><TT><BIG>

BOLD + EMPHASIS + BIG

<BOLD><EM><BIG>

BOLD + ITALICIZED + BIG

<BOLD><I><BIG>

BOLD + CITATION + BIG

<BOLD><CITE><BIG>

BOLD + COMPUTER CODE + BIG

<BOLD><CODE><BIG>

BOLD + KEYBOARD INPUT + BIG

<BOLD><KBD><BIG>

BOLD + LITERAL + BIG

<BOLD><SAMP><BIG>

BOLD + VARIABLE + BIG

<BOLD><VAR><BIG>

BOLD + TYPEWRITER + BIG

<BOLD><TT><BIG>

ITALICIZED + CITATION + BIG

<I><CITE><BIG>

ITALICIZED + COMPUTER CODE + BIG

<I><CODE><BIG>

ITALICIZED + KEYBOARD INPUT + BIG

<I><KBD><BIG>

ITALICIZED + LITERAL + BIG

<I><SAMP><BIG>

ITALICIZED + VARIABLE + BIG

<I><VAR><BIG>

ITALICIZED + TYPEWRITER + BIG

<I><TT><BIG>

STRONG + EMPHASIS + SMALL

<STRONG><EM><SMALL>

STRONG + ITALICIZED + SMALL

<STRONG><I><SMALL>

STRONG + CITATION + SMALL

<STRONG><CITE><SMALL>

STRONG + COMPUTER CODE + SMALL

<STRONG><CODE><SMALL>

STRONG + LITERAL + SMALL

<STRONG><SAMP><SMALL>

STRONG + VARIABLE + SMALL

<STRONG><VAR><SMALL>

STRONG + TYPEWRITER + SMALL

<STRONG><TT><SMALL>

EMPHASIS + CITATION + SMALL

<EM><CITE><SMALL>

EMPHASIS + COMPUTER CODE + SMALL

<EM><CODE><SMALL>

EMPHASIS + KEYBOARD INPUT + SMALL

<EM><KBD><SMALL>

EMPHASIS + LITERAL + SMALL

<EM><SAMP><SMALL>

EMPHASIS + TYPEWRITER + SMALL

<EM><TT><SMALL>

BOLD + EMPHASIS + SMALL

<BOLD><EM><SMALL>

BOLD + ITALICIZED + SMALL

<BOLD><I><SMALL>

BOLD + CITATION + SMALL

<BOLD><CITE><SMALL>

BOLD + COMPUTER CODE + SMALL

<BOLD><CODE><SMALL>

BOLD + KEYBOARD INPUT + SMALL

<BOLD><KBD><SMALL>

BOLD + LITERAL + SMALL

<BOLD><SAMP><SMALL>

BOLD + VARIABLE + SMALL

<BOLD><VAR><SMALL>

BOLD + TYPEWRITER + SMALL

<BOLD><TT><SMALL>

ITALICIZED + CITATION + SMALL

<I><CITE><SMALL>

ITALICIZED + COMPUTER CODE + SMALL

<I><CODE><SMALL>

ITALICIZED + KEYBOARD INPUT + SMALL

<I><KBD><SMALL>

ITALICIZED + LITERAL + SMALL

<I><SAMP><SMALL>

ITALICIZED + VARIABLE + SMALL

<I><VAR><SMALL>

ITALICIZED + TYPEWRITER + SMALL

<I><TT><SMALL>

Arguments for Character Transcoding

The following arguments allow you to specify a character set or convert character data to the corresponding Unicode Numeric Character Reference (NCR).

CHARSET= char-set-name

TRANLIST= transcoding-list-name

DS2CSF Arguments for Data Definition

These arguments for the DS2CSF macro define how the data set is to be interpreted by the Rangeview Applet as it generates the critical success factor graph.

DATA= SAS-data-set-name

LABELS=Y N

PW= password

VAR= variable-name

DS2CSF Arguments for Diagram Appearance

The following arguments allow you to configure your range view diagram to suit the needs of your Web presentation.

CBACK= color

CHUB= color

CINDIC= color

CLABTXT= color

CLABVAL= color

COUTLINE= color

CSFTYPE=CLASSIC DIGITAL

CVALUE= color

DEPTH=TWO_DIMENSION TWO_AND_A_HALF_DIMENSION

DRILURL= URL

DRILTARG= target-window-or-frame

HINDIC= indicator-height-percentage

INDICTYP= indicator-shape

LABELPOS= text-label-location

RANGE= range-name

VALUEPOS= CSF-value-location

WINDIC= indicator-width

META2HTM Arguments for Saving the HTML File

The META2HTM macro enables the following arguments for generating and saving an HTML file.

Note: All of the following macro arguments are required.

CAPTURE=ON OFF

HTMLFILE= external-filename

HTMLFREF= fileref

OPENMODE=APPEND REPLACE

RUNMODE=B S

META2HTM Arguments for Applet Behavior

The META2HTM macro enables the following arguments, which are used to control the behavior of the applet. Many of these arguments specify applet parameters.

CBACK= hex-color

CTIPHILT= hex-color

PAGECTL=Y N

SLIDECTL=Y N

TIPTYPE=HIGHLIGHT STICK FIXED_STICK

ZOOMCTL=Y N

Reserved Names

Do not use the following names as the value of a macro variable:

Libnames and Filerefs

Global Macro Variables

Data Sets or Views

Catalogs

Catalog Entries

Категории