BookmarkSubscribeRSS Feed
Venkatesh_gajula
Calcite | Level 5

I am trying to output a SAS dataset with observations > 65k into a excel file on UNIX server.we have SAS 9.2 TS2M2 on a AIX platform(64 bit).

Tried to export using proc export - DBMS = XLS  but only 65k rows are getting output to excel file.

Any work arounds for exporting datasets with > 65k to a excel file on Unix.

Thanks,

G.Venkatesh.

4 REPLIES 4
SASKiwi
PROC Star

You should try DBMS = XLSX. This is the new XML standard introduced in Excel 2007 that enables you to write more than 64,767 rows to a spreadsheet.

What version of Excel will you be using to read these spreadsheets? There are other issues related to whether your version of Excel is 32-bit or 64-bit. Excel 2007 is 32-bit, Excel 2010 is either 32-bit or 64-bit. You may also require the SAS PC File Server software to handle 32-bit to 64-bit translation.

Check out the numerous SAS notes on these topics.

Venkatesh_gajula
Calcite | Level 5

This option of DBMS=XLSX does not support in SAS 9.2. i still tried to run it and got the error.

SASKiwi
PROC Star

Sorry, you are correct. XLSX is not supported until 9.3 TS1. As a quick workaround you could export as a CSV, then ensure that it is imported by Excel 2007 or later.

Venkatesh_gajula
Calcite | Level 5

Yeah... looks like there is no way to get this done,because i have to export to multiple sheet in single excel workbook.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1962 views
  • 0 likes
  • 2 in conversation