06-14-2016 07:20 AM
I am trying to import a large file into the XML Mapper, but I have file limitation issues. I am on version 930.
How can I increase the allowable size format to read in the data?
I appreciate your assistance,
06-14-2016 08:32 AM
Sorry, its not clear to me what the question is. What file limitation issues are you facing? Is the file an XML file, or is it from something like Excel?
06-14-2016 08:40 AM
Well, your best path of action is to import the CSV file, far simpler than messing around with XML and XML mapper. Can you not proc import it directly - or better still write a datastep to import the CSV file?
06-14-2016 08:59 AM
Erm, how will the XML mapper mapper know something you don't? If you really don't know your data (and are prepared for anything coming from that data to fail) then use proc import. That will guess your column names, lengths, types etc. Really not a good idea, but up to you.
06-14-2016 11:06 AM
To add to @RW9's suggestion use proc import on the CSV file and use a large value for the guessingrows option.
proc import datafile="C:\temp\test.csv" out=mylib.mydata dbms=csv replace; getnames=no; guessingrows=32767; run;