BookmarkSubscribeRSS Feed
PaigeMiller
Diamond | Level 26

That looks good, but since I don't know what is in your data sets (what variable names, and what variable types numeric or character, and what the variable values) it still might have problems. Which is why I suggested you provide a portion of data sets one and two via these instructions, and then we can all stop guessing.

--
Paige Miller
Tom
Super User Tom
Super User

A time value is already a number of seconds, so no need for all of those extra function calls.

datetime=dhms(date,0,0,time);
Tom
Super User Tom
Super User

Never put tab characters in program files.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 18 replies
  • 1245 views
  • 0 likes
  • 5 in conversation