BookmarkSubscribeRSS Feed
deleted_user
Not applicable
How do I correct the error noted below. Thanks

The sale date variable is formated as below:
informat sale mmddyy10.

101 WHERE (ST = 'WY') AND (sale BETWEEN '07/31/08' AND '06/30/09') ;
ERROR: Where clause operator requires compatible variables.
102 run;
1 REPLY 1
Flip
Fluorite | Level 6
WHERE (ST = 'WY') AND (sale BETWEEN '31/JUL/08'D AND '30/JUN/09'D) ;

You need to convert the dates to SAS dates.
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1368 views
  • 0 likes
  • 2 in conversation