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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 2 replies
  • 690 views
  • 0 likes
  • 3 in conversation