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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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