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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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