Proc Format syntax
range specifies the internal values to be translated. The general forms for range are as follows.
range form |
Meaning |
Example |
value |
one value |
0 |
value, ..., value |
discrete values |
0,1,2 |
value-value |
value range |
0-2 |
value<-value |
value range excluding the first value |
0<-2 |
value-<value |
value range excluding the second value |
0-<2 |
value<-<value |
value range excluding both first and last values |
0<-<2 |
range, ..., range |
range list |
0-2,9 |
Range values may also include the keywords:
LOW, HIGH, and OTHER.
Note: Range values for character formats are usually - and in some cases must be - enclosed in quotes.
Also: Two ranges may not overlap, except for the range endpoints.
label specifies formatted value to be associated with the specified range. Each label must be enclosed in quotes.
For more information, see SPG: Chapter 18 The FORMAT Procedure. Also see C&P, Chapter 11 Proc Format.