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

Please help, I created a permanent dataset with 454,243 observations.
I used this to create a tempory dataset with a simple set statement, no conditions or clauses or anything... and the tempory dataset had only 444,244 observations! Less 9,999. This happened in SAS EG, so I wanted to try this in PC SAS....

I opened the permanent dataset in PC SAS and found it to have 464,242 observations!!! Plus 9,999 compared with the original!!!

Then the tempory dataset which I created had the same number (464,242), which restores my faith in the "set" statement!!!

What is happening?  I am not new to SAS and have never experienced this before. My collegues are also bewildered. They checked my code and agree it seems fine!!

1 ACCEPTED SOLUTION
2 REPLIES 2

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
  • 805 views
  • 0 likes
  • 2 in conversation