BookmarkSubscribeRSS Feed
NoemiTT
Calcite | Level 5

I need help in learning how to create the define.xml/pdf file that go with the SAS transport datasets for regulatory submission. Once I have the transport files, what do I do?? I need to set up the process just to see how it works, I can take it from there once I see it! There seems to be many ways some very complicated, to do this... Is anyone familiar enough to give me a hand? I would really appreciate it!

1 REPLY 1
sAura
Fluorite | Level 6
You check for the generation of xml files based on the metadata of the dataset with the help of XML Engine, or you can try the XML mapper for incorporating complicated xml files that need to be transported along with a xml mapper files that defines the strucutre of the xml file to the xml engine.

Writing the xml file:

http://www2.sas.com/proceedings/sugi29/119-29.pdf

ods xml file='C:\workshop\ws119\XML\discharge_print.xml';
proc print noobs data=discharge;
run;
ods xml close;

Reading the xml file:
filename defxml "&XMLPATH/CHECK..xml";
filename xmlmap "&SOURCE_PATH/CHECK.map";
libname defxml xml xmlmap=XMLMAP access=READONLY;

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 1 reply
  • 1167 views
  • 0 likes
  • 2 in conversation