Hi,
I have to export SAS7bdat file to csv. I tried using spark-sas7bdat package and R functions for SAS but both failed with large file.
Please suggest the best way to export large sas file to csv.
PROC EXPORT can do this.
Base SAS® 9.4 Procedures Guide, Seventh Edition - EXPORT Procedure
Best wishes,
Jeff
PROC EXPORT can do this.
Base SAS® 9.4 Procedures Guide, Seventh Edition - EXPORT Procedure
Best wishes,
Jeff
Just use a data step. See: https://communities.sas.com/t5/SAS-Procedures/Proc-Export-for-large-files/td-p/188894
Art, CEO, AnalystFinder.com
I wish to do this through Java or scala program.
Hi,
The only way to read a SAS data set is through SAS. Your Scala or Java program would have to execute SAS in order to do this. There is an SAS ODBC driver, but that will use SAS to read the SAS data set.
Best wishes,
Jeff
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.