BookmarkSubscribeRSS Feed
VIU
Calcite | Level 5 VIU
Calcite | Level 5

Hello,

how do i create a xml file from a work dataset, like "work.QUERY_MY_DATA..." with SAS EG.

 

I have tryed some things but nothing worked.

All examples i have found are how to import and export files from the Desktop or c:/(i dont have access to these folders) but i want to create a xml file from my work.dataset and export it.

1 REPLY 1
andreas_lds
Jade | Level 19

Something like

libname xmlout xml "PATH_TO_FILE.xml";

data xmlout.class;
   set sashelp.class;
run;

libname bob clear;

should work.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 457 views
  • 1 like
  • 2 in conversation