BookmarkSubscribeRSS Feed
andreas_schmitz
Calcite | Level 5

Hello Community,

I have a pretty large XML file (80 MB). I created an XML map with SAS XML Mapper. I imported the data in SAS via the SAS Code Examples (Environment and Local Extraction) in the XML Mapper software.

It is working fine, SAS assigns the XML, reads and copies the data to work as I wanted.

But the whole procedure takes a lot of time (about 10 minutes). I am afraid since the file has increased over time, the duration of the procedure has also increased and the XML will increase a lot more in future. I am afraid my SAS program will take hours to run...

I am confused since SAS needs 15.45 seconds to import a data set with 25433 observations BUT also needs 14.33 seconds to import a data set with only 1 observation. This seems weird to me and looks like SAS takes a lot of time to handle this XML in general...

Does anyone have expirience with such large XML files in SAS and importing them with the SAS XML Mapper? Any ideas how to optimize the XML (Map) or the SAS program (sample code for performance?)

I am thankful for any help/hint.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 0 replies
  • 594 views
  • 0 likes
  • 1 in conversation