Previous Page | Next Page

SAS System Options

FORMCHAR= System Option

Specifies the default output formatting characters.
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Log and procedure output control: Procedure output
See: FORMCHAR= System Option under Windows

Syntax Description
See Also


FORMCHAR= 'formatting-characters'

Syntax Description


specifies any string or list of strings of characters up to 64 bytes long. If fewer than 64 bytes are specified, the string is padded with blanks on the right.

Tip: For consistent results when you move your document to different computers, issue the following OPTIONS statement before using ODS destinations other than the Listing destination:
options formchar="|----|+|---+=|-/\<>*";


Formatting characters are used to construct tabular output outlines and dividers for various procedures, such as the FREQ, REPORT, and TABULATE procedures. If you omit formatting characters as an option in the procedure, the default specifications given in the FORMCHAR= system option are used. Note that you can also specify a hexadecimal character constant as a formatting character. When you use a hexadecimal constant with this option, SAS interprets the value of the hexadecimal constant as appropriate for your operating system.

Note:   To ensure that row and column separators and boxed tabular reports are printed legibly when using the standard forms characters, you must use these resources:


See Also

For further information about how Base SAS procedures use formatting characters, see the Base SAS Procedures Guide. For procedures in other products that use formatting characters, see the documentation for that product.

"Printing with SAS" in SAS Language Reference: Concepts

Previous Page | Next Page | Top of Page