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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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