BookmarkSubscribeRSS Feed
rohit_prajapati
Calcite | Level 5

Hi ALL,

i want to split the more than 5 GB data into Excel 97-2003 cversion(67535 records per sheet) sheetwise.

Even I am not able to get the count of abservation in the data as dataset size is more than 5 GB.

Can anyone help me on this with the running fastest and short code ?

Reragds,

Rohit

3 REPLIES 3
LinusH
Tourmaline | Level 20

There are several ways of doing this.

But this sounds very odd to me. Excel isn't the tool for storing large databases. What is the business requirement?

Data never sleeps
Ksharp
Super User

Check it out. you can search it at support.sas.com

http://support.sas.com/kb/16/587.html

Ksharp

ballardw
Super User

Here is an example on how to get the number of observations:

proc sql;

   select nobs

   from dictionary.tables

   where  libname='SASHELP' and  memname= 'ZIPCODE';

quit;

The nobs could be selected into a macro variable for use elsewhere.

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1164 views
  • 0 likes
  • 4 in conversation