The syntax for invoking the Metaview HTML Generator is
%META2HTM(argument=value, argument=value,...)
You must include the META2HTM macro call with your SAS code. You cannot call it from a SAS command line. When including the macro call in your SAS code, you can use a list of arguments that are contained within parentheses and are separated with commas.
Use the syntax reference to determine the valid values and uses for the Metaview HTML Generator. To help you locate the appropriate arguments, we have grouped them into the following categories:
Some arguments are required and are noted as such in their descriptions. If an argument is required only in some cases, the exceptions are noted. The macro provides default values for some arguments. (Default values are shown in bold.) If the default value is acceptable, do not include the argument on the macro invocation. If you want to use a value other than the default, specify the argument and the value on the macro invocation.
Note: For SAS 9.2 or later, the META2HTM macro is no longer supported. The documentation on this Web site is for Release 8.2 or earlier of SAS. Please migrate your applications to use ODS and the JavaMeta device driver.
Note: All the arguments in this section are required, but can be omitted if you are accepting the default values.
capture=ON | OFF
CAPTURE=OFF
when you are finished capturing the
metagraphics stream generated by your SAS/GRAPH code.
The following indicate which arguments can be used with
CAPTURE=ON
or CAPTURE=OFF
:
CAPTURE=ON
and CAPTURE=OFF
:
CENTER
HTMLFILE
HTMLFREF
OPENMODE
PAGEPART
CAPTURE=OFF
:
SASPOWER
SEPLOC
SEPCLASS
SPCLASS
CAPTURE=ON
only.
htmlfile=external-filename
Note: HTMLFILE
and HTMLFREF
are
mutually exclusive arguments.
htmlfref=fileref
Note: HTMLFILE
and HTMLFREF
are
mutually exclusive arguments.
openmode=APPEND | REPLACE
REPLACE
. If you do not want to
replace the current contents, supply APPEND
to
add your new HTML-enhanced output to the end of an existing
file.
Notes:
OPENMODE=APPEND
with the
CAPTURE=OFF
argument.
OPENMODE=APPEND
is not valid if you are
writing your resulting HTML to a PDS on z/OS.
runmode=B | S
<APPLET>
tag in the HTML file. All required
arguments are explicitly noted.
height=value
600
. width=value
780
. name=value
<APPLET>
tag in your HTML file,
and you have included your own scripts or DHTML that
communicates with or acts on a particular instance of the
applet. align=value
LEFT, RIGHT, TOP, BOTTOM, TEXTTOP, MIDDLE, ABSMIDDLE,
BASELINE, BOTTOM
or ABSBOTTOM
. alt=value
<APPLET>
tag, but cannot
run Java applets. The default value is SAS Institute
Inc. Metaview Applet
. archive=value
http://web_server_name/sasweb/graph/metafile.zip
.
This argument is required. codebase=value
hspace=value
vspace=value
The arguments BGTYPE, BRTITLE, CENTER, CTEXT
and
DOCTYPE
apply to the entire page for the current
invocation of the macro. So if you append data, the attributes
of existing results will not change. You may want to use these
arguments only when you replace, rather than append, pages.
The rendering of some formatting arguments varies per browser. Some browsers may not support some of these options.
bgtype=NONE | COLOR | IMAGE
COLOR
or IMAGE
as the
value, you must also use the BG
argument. Valid
values for BGTYPE
are
NONE
COLOR
BG
argument. If you
specify COLOR
as the value, you must also
specify the color in the BG
argument.
IMAGE
IMAGE
as the
value, you must also specify the BG
argument to provide the name and location of the image.
Some browsers may not support the use of background
images.bg=value
BGTYPE=IMAGE
,
value
identifies the fully-qualified path
and filename of a background image that you want to use on
your Web page. If you specified BGTYPE=COLOR
,
value
indicates the specific background
color you want to use on your page. You can specify color
values using the color name or the RGB value. brtitle=value
center=Y | N
N
). ctext=value
doctype=3.2 |
value
DOCTYPE
tag in the HTML file. The default value
is 3.2
, which writes the following line to the
top of your HTML file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
If you want something other than the default text, you can
provide the exact line to be added. If you supply a blank
for value
, nothing is added to the top
of the file. If you supply a value other than 3.2, you
must include the exact text that you want added.
For example, if you want to reference a different DTD, you
must provide the entire string, including
!DOCTYPE
and the opening and closing angle
brackets.
pagepart=ALL |
HEAD | BODY | FOOT
ALL
HEAD
HEAD
when you are going to append additional output to this
file from one of the formatters or from the Metaview
HTML Generator.BODY
FOOT
For more information, see Using Page Formats.
saspower=value
Use of this image is by permission only. See the Powered by SAS logo guidelines and agreement. |
septype=NONE | RULE | IMAGE
NONE
RULE
<HR>
tag (a horizontal rule) to the
HTML file following the end of the applet.IMAGE
IMAGE
, you must
also specify the SEPLOC
argument to
provide the name and location of the image that you
want to use. seploc=image-location
SEPTYPE=IMAGE
. The value
for this argument should be a fully-qualified pathname or
valid URL. cback=value
ctiphilt=value
pagectl=Y | N
slidectl=Y | N
tiptype=highlight | stick | fixed_stick
HIGHLIGH
and causes
the data tip to appear slightly above the selection
area and highlights the selection area with a red line.
STICK
causes the data tip to
hover above the mouse pointer (tracking the mouse
movements while your mouse is within the selection
area) with a line pointing to the tip of the mouse
pinter. STICK_FIXED
causes the data tip
to display above the selection area with a line
pointing to the center of the selection area. The data
tip does not follow the movement of the mouse pointer.
zoomctl=Y | N
charset=character-set-name
For a description of these arguments and an explanation about how to use them, see Implementing Character Transcoding in "Character Transcoding and National Language Support."
Use the following arguments to specify the location of your style sheets. These arguments are valid for all formatters and are described in Syntax for Including Style Sheets:
sshref1-sshref5=value
sstype1-sstype5=value
ssrel1-ssrel5=value
ssrev1-ssrev5=value
sstitle1-sstitle5=value
ssmedia1-ssmedia5=value
ssfile1-ssfile5=value
ssfref1-ssfref5=value
bdclass=value
sepclass=value
RULE
, the supplied value is used on the
CLASS
attribute of the HR
tag. For
an IMAGE
separator, the supplied value is used
on the CLASS
attribute of the IMG
tag. spclass=value
Note: z/OS is the successor to the OS/390 and MVS operating systems. SAS/IntrNet 9.1 for z/OS is supported on the MVS, OS/390, and z/OS operating systems and, throughout this document, any reference to z/OS also applies to OS/390 and MVS, unless otherwise stated.