Thank you very much PG Stats. There is a syntax error and i think the problem is in my version of SAS 9.1 46 /* Define a color format that interprets the decimals as the target */ 47 proc fcmp outlib=sasuser.fcmp.format; 48 function bTarget(x) $16; 49 50 if missing(x) then return ("verylightyellow"); ------------------ 22 200 51 else if int(x) < round(10000*(x-int(x))) then return ("verylightred"); --------------- 22 200 52 else return ("white"); -------- 22 200 ERROR 22-322: Syntax error, expecting one of the following: a name, a numeric constant, a datetime constant, a missing value, (, +, -, IF. ERROR 200-322: The symbol is not recognized and will be ignored. 53 endsub; 54 run; and proc format ; 59 value col 60 other = [bTarget()]; - 22 - 200 ERROR 22-322: Syntax error, expecting one of the following: a quoted string, a numeric constant, a datetime constant, a missing value, ;, LOW, OTHER. ERROR 200-322: The symbol is not recognized and will be ignored. Thak you again. Bob
... View more