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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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