SAS proc format语句

SAS proc format语句,sas,Sas,我想在数字变量(比如年龄)上创建一种格式,以将结果显示为“>10”。我试着: PROC FORMAT; VALUE agefmt >10 - high = '> 10' /*10 to be excluded.*/ other = '<= 10' ; RUN; PROC格式; 价值agefmt >10-高='>10'/*10不包括在内*/ other='您犯了一个小错误,>必须必须

我想在数字变量(比如年龄)上创建一种格式,以将结果显示为“>10”。我试着:

PROC FORMAT;
  VALUE agefmt 
    >10 - high  = '> 10'     /*10 to be excluded.*/
    other      = '<= 10'
    ;
RUN;
PROC格式;
价值agefmt
>10-高='>10'/*10不包括在内*/

other='您犯了一个小错误,>必须
 PROC FORMAT;
   VALUE agefmt 
     10 <- high  = '> 10'     /*10 to be excluded.*/
     other      = '<= 10'
   ;
RUN;
PROC格式;
价值agefmt

10您犯了一个小错误,>必须<且介于以下值之间:

 PROC FORMAT;
   VALUE agefmt 
     10 <- high  = '> 10'     /*10 to be excluded.*/
     other      = '<= 10'
   ;
RUN;
PROC格式;
价值agefmt

谢谢你的解决方案。谢谢你的解决方案。