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.
%NRSTRwhen specifying the value of the argument.
%NRSTRensures that these characters are processed correctly. For example, when using the Tabulate formatter, you may want to include
%Returnin your browser window title. The following is how the
BRTITLEargument should be used:
brtitle=%NRSTR(%Return on Investment)
RUNMODE=I), see the sections on invoking the formatters interactively.
DSPROP(used with the Data Set Formatter)
OUTPROP(used with the Output Formatter)
TABPROP(used with the Tabulate Formatter).
PROPLOCargument to ensure that the correct property list is being used. All formatters use the following rules to locate a property list:
PROPLOCis not specified or is incorrect, look next for the list named SASUSER.HTMLGEN.toolname.SLIST.
PROPLOCargument when you invoke the interface so that the list you want to modify is opened when the interface comes up.
NOCENTERand 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.
PREtag. If you use other tags, the characters may not line up as you want.
FORMCHARsystem 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=APPENDwhen 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.
OBSSAS system options, which indicate where to start and stop reading a data set, in your SAS program when using the HTML Data Set Formatter.
FILENAME fileref FTP 'external-file' ftp-options;
usernameis used to login to the FTP server.
hostis 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.
passwordis the password to use with the user name specified in the USER option.
commandis 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, ...);
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.