BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
fpascal
Quartz | Level 8

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.

1 ACCEPTED SOLUTION

Accepted Solutions
kiranv_
Rhodochrosite | Level 12
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

View solution in original post

3 REPLIES 3
Miracle
Barite | Level 11
Can you please explain what do you intend to do?
kiranv_
Rhodochrosite | Level 12
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

fpascal
Quartz | Level 8
thank you I was sleepy

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 490 views
  • 0 likes
  • 3 in conversation