Hi, I am running a simple stored process the idea being to update a dataset as a result of the input from the prompts. The code runs fine when I ran it in SAS EG. However, it gives me an error when I run it in SAS VA. Error message attached. 65 +data VALIBLA.churn_example1; 66 +set VALIBLA.churn_example; 67 +if tpid=&tpidvar then do; __ 22 ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, -, /, ;, <, <=, <>, =, >, ><, >=, AND, EQ, GE, GT, IN, LE, LT, MAX, MIN, NE, NG, NL, NOTIN, OR, ^=, |, ||, ~=. The SAS System 68 + comments="&comments_var"; 69 + Phone_calls=&phone_call_var+0; 70 + Customer_category="&customer_rating_var"; 71 + Customer_rating=substr("&customer_rating_var",1,1)+0; 72 +end; ___ 161 ERROR 161-185: No matching DO/SELECT statement. 73 +run; Can someone tell me what I may be doing wrong? It is the first time that I am using stored process, so there could be other errors. Thanks! Rita
... View more