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.

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