proc sql ;
select * from inp.inp_claims_lds2013_2016
group by prvdr_num
quit;
LOG BELOW
99
100 proc sql ;
101 select * from inp.inp_claims_lds2013_2016
102 group by prvdr_num
103 quit;
____
22
76
ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, ',', -, '.', /, <, <=, <>, =, >, >=, ?,
AND, CONTAINS, EQ, EQT, GE, GET, GT, GTT, HAVING, LE, LET, LIKE, LT, LTT, NE, NET, OR, ORDER, ^=, |, ||,
~=.
ERROR 76-322: Syntax error, statement will be ignored.
proc sql ;
select * from inp.inp_claims_lds2013_2016
group by prvdr_num;
quit;
YOU NEED TO HAVE semicolon before you write a quite statement
proc sql ;
select * from inp.inp_claims_lds2013_2016
group by prvdr_num;
quit;
YOU NEED TO HAVE semicolon before you write a quite statement
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.