Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Issue - Wierd!!!!!

Status
Not open for further replies.

ja01

Technical User
Dec 14, 2005
48
US
Here is the SAS program I wrote to display a userid and the count of the userid:

proc sql;
create table address1 as
select addruserid, count(addruserid) as addrCount
from my.address
where addrdate between '26-feb-2007'd and '31-mar-2007'd
group by addruserid;
run;
Everything works okay except the date.

I get a message that says,NOTE 49-169: The meaning of an identifier after a quoted string may change in a future SAS
release. Inserting white space between a quoted string and the succeeding identifier is recommended.

I had been running similar programs for months without issue. I am running SAS 9.3. Was there a change that makes this display of dates incorrect?? Is there a fix for this??
 
It looks good to me. I am running 9.1 so I havn't seen your problem. Perhaps take the dashes out of your 'date' value.
Also you must realize that the message is a NOTE and not even a warning so I would ignore it.
Klaz
 
Take the hyphens out of the dates, should be
Code:
 '26FEB2007'd and '31MAR2007'd
Enjoy.


Chris
Business Analyst, Code Monkey, Data Wrangler.
SAS Guru.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top