Desktop productivity for business analysts and programmers

Error while using PROC EXPORT in SAS EG 7.1

Posts: 27

Error while using PROC EXPORT in SAS EG 7.1

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.





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.


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.


Rajesh A

Community Manager
Posts: 3,457

Re: Error while using PROC EXPORT in SAS EG 7.1

Posted in reply to RAmarapuram


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.


Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation