Hi, all, I'm using 9.3 and can't understand why I'm getting the following results for this code for a PROC FORMAT using the inequality operator pair, -< (up to but not including...) : PROC FORMAT; VALUE CRLIMIT . = 'Test not performed' Low -<3.5 = 'Normal/acceptable (Up to/ not including 3.5)' 3.5 -<6.0 = 'Elevated [3.5- not including 6.0)' 6.0 -<20.0 = 'Unacceptable [6.0- not including 20.0)' 20.0- HIGH = 'Possible entry error [20 and above]'; RUN; DATA ONE; do i = 0 to 21 by 0.1; j= i; OUTPUT; end; RUN; PROC PRINT DATA = ONE; VAR i j; FORMAT j CRLIMIT.; RUN; And the output (editted) shows the following: OBS i j . . . 34 3.3 Normal/acceptable (Up to/ not including 3.5) 35 3.4 Normal/acceptable (Up to/ not including 3.5) 36 3.5 Elevated [3.5- not including 6.0) 37 3.6 Elevated [3.5- not including 6.0) . . . 60 5.9 Elevated [3.5- not including 6.0) 61 6.0 Elevated [3.5- not including 6.0) 62 6.1 Unacceptable [6.0- not including 20.0) . . . 200 19.9 Unacceptable [6.0- not including 20.0) 201 20.0 Unacceptable [6.0- not including 20.0) 202 20.1 Possible entry error [20 and above] The formatted results for observation 35 and 36 are correct, but not for observations 60 and 201. This worked OK in 9.2 but is messing up in 9.3. Any clues or explanation? Did I code the format ranges correctly? Thanks!
... View more