HTML Output Formatter

Setting SAS System Options

Before you invoke the Output Formatter, you must perform several steps. These steps vary depending on the mode in which you are invoking the formatter (batch or interactive). The instructions presented here explain how to set your SAS system options.

Set Your Line Size

You must set your line size to a value that is less than or equal to 195. You can set line size using the OPTIONS statement when you start your SAS session, by using the OPTIONS window once your SAS session is running, or by including it in your SAS program. You must include this option when you start your SAS session or include the OPTIONS statement as the first line of your procedure code. If you do not start SAS with this option, you should clear the Log and Output windows before trying to submit code to capture.

For example, if you want to set the line size to be 190 characters, your OPTIONS statement would look like the following:

 
   OPTIONS LS=190;

Specify Which Form Characters to Use

The SAS 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. 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='|----|+|---+=|-/\<>*';

The above form characters are the recommended values for SBCS (Single-Byte Character Set) encoding on an ASCII display. For DBCS (Double-Byte Character Set) encoding on an ASCII display, use the following FORMCHAR setting:

    FORMCHAR='02030405060708090a0b0c'x