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"?

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
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
  • 2260 views
  • 0 likes
  • 2 in conversation