Hi, Thanks for your answer. I get the following into the log so i guess case is not a valid way for the condiitonal proceccing. ANt ideas? Thnaks NOTE: The data set WORK._TMP_0F2A7CAC2D8C11EF87B43A81D86 has 0 observations and 13 variables. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.01 seconds 138 139 data null; 140 set work._tmp_0f2a7cac2d8c11ef87b43a81d86; 141 __valid_expr=case (Order_Type) ---- 68 142 when 1 then 2.5 ---- 22 76 ERROR 68-185: The function CASE is unknown, or cannot be accessed. ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, -, /, ;, <, <=, <>, =, >, ><, >=, AND, EQ, GE, GT, IN, LE, LT, MAX, MIN, NE, NG, NL, NOT, NOTIN, OR, ^, ^=, |, ||, ~, ~=. ERROR 76-322: Syntax error, statement will be ignored.
... View more