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

hi, 

i am getting an error:

51 data test4;
52 set T.Grocery_coupons;
53 format mm date9.;
54 mm=intnx('month','31Mar2014'd,-3,'s');
--- -------
49 49
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.

55 run;

 

this is my code:

data test4;
set T.Grocery_coupons;
format mm date9.;
mm=intnx('month','31Mar2014'd,-3,'s');
run;

thanks

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Riteshdell
Quartz | Level 8

hello,

 

 

please try this one.

function.PNG

View solution in original post

2 REPLIES 2
Kurt_Bremser
Super User

Interesting. I don't get that NOTE:

23         GOPTIONS ACCESSIBLE;
24         data test4;
25         set sashelp.class;
26         format mm date9.;
27         mm=intnx('month','31Mar2014'd,-3,'s');
28         run;

NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.TEST4 has 19 observations and 6 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.00 seconds

(SAS version 9.2)

Riteshdell
Quartz | Level 8

hello,

 

 

please try this one.

function.PNG

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 1133 views
  • 0 likes
  • 3 in conversation