SAS Enterprise Guide

Desktop productivity for business analysts and programmers
BookmarkSubscribeRSS Feed
RAmarapuram
Obsidian | Level 7

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

1 REPLY 1
ChrisHemedinger
Community Manager

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

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 4858 views
  • 0 likes
  • 2 in conversation