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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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