Hi Chris Hemedinger,
Thanks for your reponse.
I am starting a new thread since I am unable to reply to your response in the old thread.
I am now able to export data.
a. However, when I am trying to create an .xlsx file using DBMS=xlsx option the file gets created with extension .$$1. Below is the code for the same.
PROC EXPORT DATA=WORK.TEST
OUTFILE="
XXXX\IT\TEST13.XLSX" DBMS=XLSX REPLACE;
SHEET='INFO';
RUN;
b. If I use DBMS=XLS option, the file gets created.However, when I am trying to open the file it says "file format not supported".
Could you please advice.
#2.
Also, I need help in understanding 32-bit / 64-bit stuff
Currently, SAS installed server is 64-bit and client machine is 32-bit (Operation system Windows 7). The office(2010) drivers installed are 32-bit.SAS Client (EG 7.1) is 32-bit.
The Base SAS installed is X64 bit (TS1M2) on server.
How do they work with these different combinations. Do you think the above configuartion have any limitations ?
When you say SAS 64 or 32 Bit, are you talking about SAS installed on server or local SAS that we working with ?
Please share any document if you have.
Thanks in advance.
Regards
Rajesh A
Rajesh,
The $$1 file is a transient file that PROC EXPORT creates before finalizing the XLSX file. Make sure that you don't already have the destination XLSX file open in another process (such as in Microsoft Excel). If the problem continues, I recommend that you reach out to SAS Technical Support.
When using DBMS=XLS or DBMS=XLSX, the bitness of Microsoft Office is not a factor. I don't recommend DBMS=XLS because it writes a back-level file format for Excel. XLSX is the best choice if you can get it to work for you.
The bitness of Microsoft Office matters only when using DBMS=EXCEL -- in this case, the 32-bit Microsoft Office won't allow 64-bit SAS to write the Excel file. You would use EXCELCS instead, with the PC Files Server.
Chris
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.