BookmarkSubscribeRSS Feed
SA159
Calcite | Level 5

Hello

 

I have a problem importing a very big XML file on 3gb.

I tried to do it with xml mapper but the file is way to big. 

Anyone got a solution to how i can import the whole file without splitting it up ?

 

Thank in advance. 

2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Sometimes you can build the map on a smaller version of the XML file and then use the generated MAP on the big file by running the code outside of the XML Mapper.

cynthia
snoopy369
Barite | Level 11

You don't need to use the XML mapper if you know the XML schema and know how you want to import the data.  You can use XSL to create your own map without opening the XML file at all.

 

Is this a complicated (many fields) XML file, or is it many rows but just a few fields?  Or, more importantly, just a few fields you want?  If you put more detail (such as an example of the XML file, one "row" or two "rows" worth) you can get a better answer here.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 947 views
  • 1 like
  • 3 in conversation