BookmarkSubscribeRSS Feed
avatar
Fluorite | Level 6

is there a way to see sample data from a large sas data set?

This data set has 100 + columns and millions of records . Double clicking the dataset freezes. firstobs = 1 obs=50  didnot work.

any other suggestions?

Please advise.

3 REPLIES 3
Haikuo
Onyx | Level 15

"firstobs = 1 obs=50 didnot work" how? Please share relevant code and logs. At the mean time, Proc SQL has the similar options:

Proc sql inobs=50;

select * from have;quit;

Haikuo

avatar
Fluorite | Level 6

data DRUG_info ;

set PHARM.V_HMI_DRUG_CLS (firstobs=1 OBS=50);

run;

Haikuo
Onyx | Level 15

And logs showing "did not work"?

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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