BookmarkSubscribeRSS Feed
THALLA_REDDY
Obsidian | Level 7

Hi Team,

 

I am using SAS Enterprise Guide 8.3 and will be querying data into multiple datasets. Now I want to export all the datasets into Single Excel file with multiple sheets.

 

Can anyone help me with this requirements ?

 

thanks in advance

Thalla

4 REPLIES 4
PeterClemmensen
Tourmaline | Level 20

How do you split the data into multiple data sets?

 

 

Ksharp
Super User
libname x xlsx 'c:\temp\x.xlsx';
proc copy in=work out=x;
select a b c d ;
run;
Sajid01
Meteorite | Level 14

Thanks @Ksharp for the simple and elegant example

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 4 replies
  • 1673 views
  • 1 like
  • 4 in conversation