Hi, Im trying to export mainframe sas dataset to excel output , and my saslog says " The Import/Export facility is not supported on this operating system." is there any solution to solve this? so that i can easily export sas data set as excel output.
code i used :-
PROC EXPORT DATA=SASHELP.CARS
OUTFILE='C:\USERS\DOWNLOADS\EXTRA\SASCARS.XLSX'
DBMS=XLSX
REPLACE;
RUN;
Write your SAS data to a flat file (either fixed columns, or delimited), and use that for the data exchange with external applications.
CSV (comma separated) works best.
If SAS runs on mainframe it is unlikely that you can access the C-drive of your windows computer. But before that problem can be solved you need to check which SAS version is installed on the mainframe. Have a look at the automatic variables using %put _automatic_;
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.