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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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