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 desy_sort_key, clm_admsn_dt, prvdr_num from inp.inp_claims_lds2013_2016
group by desy_sort_key prvdr_num clm_admsn_dt;
quit;

 

LOG BELOW

 

100 proc sql
101 select desy_sort_key, clm_admsn_dt, prvdr_num from inp.inp_claims_lds2013_2016
______
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, CHECK, CODEGEN, CONSTDATETIME, DICTDIAG, DOUBLE, DQUOTE,
ERRORSTOP, EXEC, EXITCODE, FEEDBACK, FLOW, INOBS, IPASSTHRU, LOOPS, NOCHECK, NOCODEGEN, NOCONSTDATETIME,
NODICTDIAG, NODOUBLE, NOERRORSTOP, NOEXEC, NOFEEDBACK, NOFLOW, NOIPASSTHRU, NONUMBER, NOPRINT, NOPROMPT,
NOREMERGE, NOSORTMSG, NOSTIMER, NOSTOPONTRUNC, NOTHREADS, NOWARNRECURS, NUMBER, OUTOBS, PRINT, PROMPT,
REDUCEPUT, REDUCEPUTOBS, REDUCEPUTVALUES, REMERGE, SORTMSG, SORTSEQ, STIMER, STOPONTRUNC, THREADS,
UBUFSIZE, UNDO_POLICY, WARNRECURS.

ERROR 76-322: Syntax error, statement will be ignored.

102 group by desy_sort_key prvdr_num clm_admsn_dt;
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
103 quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds

 

1 ACCEPTED SOLUTION

Accepted Solutions
1 REPLY 1
fpascal
Quartz | Level 8

solved

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
  • 1 reply
  • 1066 views
  • 0 likes
  • 1 in conversation