Note: | CLASS statements without options use the internal default
or the value specified by an option in the PROC TABULATE statement.
For example, in the following code, variables c and d would
use the internal default. If an ORDER= option had been specified
in the PROC TABULATE statement, then variables c and d would use the
value specified by the ORDER= option in the PROC TABULATE statement.class a b / order=data;
class c d; |
Tips: | You can use multiple CLASS statements.
Some CLASS statement options are also available in the PROC TABULATE statement. They affect all CLASS variables rather than just the ones that you specify in a CLASS statement. |
Examples: | Using Preloaded Formats with Class Variables |
If you specify the ORDER=FORMATTED option, then PROC TABULATE ignores the GROUPINTERNAL option and uses the formatted values.
When you specify MLF, the formatted values of the class variable become internal values. Therefore, specifying ORDER=FORMATTED produces the same results as specifying ORDER=UNFORMATTED.
To include all ranges and values of the user-defined formats in the output, use the PRINTMISS option in the TABLE statement. Use care when you use PRELOADFMT with PRINTMISS. This feature creates all possible combinations of formatted class variables. Some of these combinations might not make sense.
To override a style element that is specified for a class variable name heading in the CLASS statement, you can specify a style element in the related TABLE statement dimension expression.