hi i need help in Exporting more than 1048576 into csv/xlsb/xlsx file using base sas 9.4 .
I need to work on report using excel but my rows always limits to 1048576 when i use below code to export
proc export
data = Final_Rollup
outfile = 'C:\Users\msbla\report.xlsb'
dbms = excel replace;
run;
Use the proper dbms= value:
proc export
data = Final_Rollup
outfile = 'C:\Users\msbla\report.csv'
dbms = csv
replace
;
run;
A csv file is only limited by available disk storage. Note that you can't import it into Excel, but who uses Excel for data containing a million rows anyway?
As Kurt suggested, use CSV for this.
From Microsoft:
Excel 2007 and above supports 2^20 rows, i.e. 1048576 rows. They are just numbered from 1 to 1048576.
-unison
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.