This page includes tips and hints that other users have found useful. If you have tips that you think others could use, please let us know.
%NRSTR
when specifying the value of the
argument. %NRSTR
ensures that these characters are processed
correctly. For example, when using the Tabulate formatter, you may
want to include %Return
in your browser window title.
The following is how the BRTITLE
argument should
be used:
brtitle=%NRSTR(%Return on Investment)
RUNMODE=I
),
see the sections on invoking the formatters interactively.
SASUSER.HTMLGEN.toolname.SLISTwhere
toolname
is either
DSPROP
(used with the Data Set Formatter)OUTPROP
(used with the Output Formatter)TABPROP
(used with the Tabulate Formatter).PROPLOC
argument to ensure that
the correct property list is being used. All formatters
use the following rules to locate a property list:
PROPLOC
argument.PROPLOC
is not specified or is incorrect, look
next for the list named SASUSER.HTMLGEN.toolname.SLIST.PROPLOC
argument when you invoke
the interface so that the list you want to modify is
opened when the interface comes up.NOCENTER
and set the line size
(LS
) to less than or equal to 80 in the OPTIONS
statement in your SAS code. Note: You may need to experiment
with the line size value to find what works best with your output
and window size.PRE
tag. If you use other tags, the characters
may not line up as you want.FORMCHAR
system option specifies
the formatting characters displayed in your output. Formatting
characters are used to construct tabular output outlines. If
you do not use this option in your SAS code, the characters
that delineate the table may look unusual, depending on your
browser and the operating system or platform used. For example,
the output generated using the default formatting characters in
the PC version of SAS software may look unusual unless the SAS
Monospace font is used by the browser. To avoid this and to
specify exactly which characters to use, set the following SAS
system option prior to capturing any output with Output
Formatter:
OPTIONS FORMCHAR='|----|+|---+=|-/\<>*';You can also use character transcoding to avoid this behavior. See transcoding example 4 for details on how to incorporate this fix into your SAS program.
HTMLFILE=
argument
to write your output file to an existing partitioned data set (PDS). If
the filename you reference using HTMLFILE=
is
a member of an existing PDS, other members
may be rendered unreadable. To avoid this problem, use the
HTMLFREF=
argument instead of the
HTMLFILE=
argument when running on z/OS.
This problem exists in all HTML Formatting Tools
delivered with Release 6.09E (TS455) of SAS software for z/OS. This
problem has been fixed in Version 1.1, which is available with
the December 1997 SAS Notes.
OPENMODE=APPEND
when you are writing results to an existing PDS. You also cannot use
BY-group processing with the Data Set Formatter when writing the
resulting HTML to a PDS.
For more details, see Appending to an
Existing PDS.
FIRSTOBS
or OBS
SAS system
options, which indicate where to start and stop reading a data set, in
your SAS program when using the HTML Data Set Formatter.
PW
argument.Syntax:
FILENAME fileref FTP 'external-file' ftp-options;
where
fileref
FTP
'external-file'
ftp-options
'username'
username
is used to login to the FTP server. 'host'
host
is the network name of the remote host
with an FTP server running. You can specify either the name
of the host or the IP address of the machine. 'password'
password
is the password to use with
the user name specified in the USER option. 'command'
command
is the command to send to the FTP server. Here's an example of using the FTP access method used with the Tabulate formatter:
filename myfile ftp "/u/myfile.html" user="your-userid" pass="your-pswd" host="your-domain" rcmd="ascii" rcmd="site umask 002"; . . . %tab2htm(capture=off, htmlfref=myfile, ...);
where
umask 002
filename myfile url 'http://mydomain/myfile.html'; . . . %tab2htm(htmlfref=myfile, ...);
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.