<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multiple .xml Files Upload in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197292#M49298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, that would be easiest.&amp;nbsp; Otherwise you will need to create a dataset, which contains all the paths/filenames of each subdirectory.&amp;nbsp; So from a fixed point, dir list all folders within there.&amp;nbsp; Then for each returned directory from that dir list all etc. to get everything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 17:04:38 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-06-01T17:04:38Z</dc:date>
    <item>
      <title>Multiple .xml Files Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197289#M49295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand there is an abundance of tutorials and guides for SAS, so I apologise for this question as I'm sure if I kept digging that I'd find a solution.&lt;/P&gt;&lt;P&gt;Unfortunately, I am a first-time user of SAS on a very tight timeline, and I would really appreciate some feedback on this request:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 75,000 .xml files located in a few folders and subfolders. Nothing is zipped.&lt;/P&gt;&lt;P&gt;Each file has been created/structured in the same way – a large number of columns (100+) and a lot of rows (500+). Each file only uses 1 sheet in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use SAS to sort the data into something more understandable. Right now, it’s all chopped up into these 75,000 files so I can’t isolate, for example, one column to see what’s happening with it because that would mean opening 75,000 files independently. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no knowledge in SAS, so even importing the files appears challenging. I have SAS 9.4 installed.&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After attempting to import even one file, SAS doesn’t seem to accept .xml files (through the File, Import method). I then changed the extension of a file to .xls and that also didn’t work (because I assume that I actually didn’t change the file type by simply changing the extension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any ideas as to how I can import data from 75,000 files that are in .xml format without individually importing each one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading, I realised this is useful for importing a single .xml file: &lt;A href="http://support.sas.com/documentation/cdl/en/engxml/64990/HTML/default/viewer.htm#p03yh3krbywig1n1v6lgkuwb3csa.htm" title="http://support.sas.com/documentation/cdl/en/engxml/64990/HTML/default/viewer.htm#p03yh3krbywig1n1v6lgkuwb3csa.htm"&gt;SAS(R) 9.4 XML LIBNAME Engine: User's Guid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, I obviously cannot do that for 75,000 files in the short time I have. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really appreciate some help in hopefully simple terms!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197289#M49295</guid>
      <dc:creator>dhingra_sa</dc:creator>
      <dc:date>2015-06-01T15:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple .xml Files Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197290#M49296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So they definately are XML files yes, not Excel.&amp;nbsp; Have you the code ready for the import of one file?&amp;nbsp; If so then you can just wrap that into a macro and call it once per file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro import_xml (filename=,ds=);&lt;/P&gt;&lt;P&gt;...&amp;nbsp; /* Put your import code here, noting to replace the relevant bits with the parameters */&lt;/P&gt;&lt;P&gt;%mend import_xml;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename tmp pipe 'dir "c:\dir_with_your_files" /b';&amp;nbsp; /* To get list of files */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile tmp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length buff $200;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input buff $;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call execute('%import_xml (filename='||strip(buff)||',ds=out_dataset'||strip(put(_n_,best.))||');');&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is just a quick example I typed in so not tested.&amp;nbsp; Basically get a listing from the OS, then create a macro call for each filename, and run the import.&amp;nbsp; You will then have a lot of files in your work directory which you can put together.&amp;nbsp;&amp;nbsp; Sorry, its a bit quick as am just leaving.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:15:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197290#M49296</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-06-01T15:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple .xml Files Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197291#M49297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would the 75,000 files have to be in the same folder for this to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197291#M49297</guid>
      <dc:creator>dhingra_sa</dc:creator>
      <dc:date>2015-06-01T15:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple .xml Files Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197292#M49298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, that would be easiest.&amp;nbsp; Otherwise you will need to create a dataset, which contains all the paths/filenames of each subdirectory.&amp;nbsp; So from a fixed point, dir list all folders within there.&amp;nbsp; Then for each returned directory from that dir list all etc. to get everything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:04:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197292#M49298</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-06-01T17:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple .xml Files Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197293#M49299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RW9,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file name is 38(2013-02-28), and its located in D:\Users\z3466666\Desktop\all files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I tried, but it didn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro import_xml (filename=,ds=);&lt;/P&gt;&lt;P&gt;filename 38(2013-02-28) 'D:\Users\z3466666\Desktop\all_files'; &lt;/P&gt;&lt;P&gt;filename map 'D:\Users\z3466666\Desktop\all_files\38(2013-02-28)generate.map';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname 38(2013-02-28) xmlv2 automap=replace xmlmap=map; 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=38(2013-02-28).team;&lt;/P&gt;&lt;P&gt;%mend import_xml;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename tmp pipe 'D:\Users\z3466666\Desktop\all_files';&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile tmp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length buff $200;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input buff $;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call execute('%import_xml (filename='||strip(buff)||',ds=out_dataset'||strip(put(_n_,best.))||');');&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; %macro import_xml (filename=,ds=);&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; filename 38(2013-02-28) 'D:\Users\z3466666\Desktop\all files';&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; filename map 'D:\Users\z3466666\Desktop\all files\38(2013-02-28)generate.map';&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; libname 38(2013-02-28) xmlv2 automap=replace xmlmap=map; 3&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; proc print data=nhl.team;&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; %mend import_xml;&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;10&amp;nbsp;&amp;nbsp; filename tmp pipe 'D:\Users\z3466666\Desktop\all files';&lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt;12&amp;nbsp;&amp;nbsp; data _null_;&lt;/P&gt;&lt;P&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile tmp;&lt;/P&gt;&lt;P&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length buff $200;&lt;/P&gt;&lt;P&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input buff $;&lt;/P&gt;&lt;P&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call execute('%import_xml&lt;/P&gt;&lt;P&gt;16 ! (filename='||strip(buff)||',ds=out_dataset'||strip(put(_n_,best.))||');');&lt;/P&gt;&lt;P&gt;17&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The infile TMP is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unnamed Pipe Access Device,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCESS=D:\Users\z3466666\Desktop\all files,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECFM=V,LRECL=32767&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stderr output:&lt;/P&gt;&lt;P&gt;'D:\Users\z3466666\Desktop\all' is not recognized as an internal or external command,&lt;/P&gt;&lt;P&gt;operable program or batch file.&lt;/P&gt;&lt;P&gt;NOTE: 0 records were read from the infile TMP.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.44 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.11 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 02:16:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197293#M49299</guid>
      <dc:creator>dhingra_sa</dc:creator>
      <dc:date>2015-06-02T02:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple .xml Files Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197294#M49300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well several things. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, naming your files 38(2013-02-28).xml is not recommended.&amp;nbsp; In fact, don't use that as a reference anywhere in your code other than reffering to the filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your error comes from the fact you are passing the string "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;D:\Users\z3466666\Desktop\all_files" to your OS, this doesn't do anything.&amp;nbsp; You need to understand how your operating systems works and what commands do what.&amp;nbsp; To get a directory listing you would type:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;dir &amp;lt;pathname&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;So we need to create that string to be passed to the OS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;filename tmp pipe 'dir "c:\abc" /b -d';&lt;/P&gt;&lt;P&gt;This will return a list of filenames in that directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code should look more like this:&lt;/P&gt;&lt;P&gt;%macro import_xml (filename=,ds=);&lt;/P&gt;&lt;P&gt;&amp;nbsp; filename inxml "D:\Users\z3466666\Desktop\all_files\&amp;amp;filename..xml";&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; filename map 'D:\Users\z3466666\Desktop\all_files\38(2013-02-28)generate.map';&lt;/P&gt;&lt;P&gt;&amp;nbsp; libname mylibxml xmlv2 automap=replace xmlmap=map; &lt;/P&gt;&lt;P&gt;&amp;nbsp; proc print data=mylibxml.team;&lt;/P&gt;&lt;P&gt;&amp;nbsp; filename inxml clear;&lt;/P&gt;&lt;P&gt;&amp;nbsp; filename map clear;&lt;/P&gt;&lt;P&gt;&amp;nbsp; libname mylibxml clear;&lt;/P&gt;&lt;P&gt;%mend import_xml;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename tmp pipe 'dir "D:\Users\z3466666\Desktop\all_files"'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile tmp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length buff $200;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input buff $;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call execute('%import_xml (filename='||strip(buff)||',ds=out_dataset'||strip(put(_n_,best.))||');');&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 13:56:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/197294#M49300</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-06-02T13:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple .xml Files Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/286565#M59506</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the code as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro import_xml (filename=,ds=);&lt;BR /&gt;filename inxml "C:\Users\ASHU\Desktop\Test\&amp;amp;filename..xml";&lt;BR /&gt;filename map 'C:\Users\ASHU\Desktop\Test\ashugenerate.map';&lt;BR /&gt;libname mylibxml xmlv2 automap=replace xmlmap=map;&lt;BR /&gt;proc print data=mylibxml.team;&lt;BR /&gt;filename inxml clear;&lt;BR /&gt;filename map clear;&lt;BR /&gt;libname mylibxml clear;&lt;BR /&gt;%mend import_xml;&lt;BR /&gt;filename tmp pipe 'dir "C:\Users\ASHU\Desktop\Test"';&lt;BR /&gt;data _null_;&lt;BR /&gt;infile tmp;&lt;BR /&gt;length buff $200;&lt;BR /&gt;input buff $;&lt;BR /&gt;call execute('%import_xml (filename='||strip(buff)||',ds=out_dataset'||strip(put(_n_,best.))||');');&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however I am getting the error as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;27 +&lt;BR /&gt;proc print data=mylibxml.team; filename inxml clear; filename map clear; libname&lt;BR /&gt;ERROR: Libname MYLIBXML is not assigned.&lt;BR /&gt;NOTE: Fileref INXML has been deassigned.&lt;BR /&gt;NOTE: Fileref MAP has been deassigned.&lt;BR /&gt;28 + mylibxml clear;&lt;BR /&gt;WARNING: Libname MYLIBXML is not assigned.&lt;BR /&gt;28 + ;&lt;BR /&gt;29 + filename inxml "C:\Users\ASHU\Desktop\Test\2.xml"; filename map&lt;BR /&gt;'C:\Users\ASHU\Desktop\Test\ashugenerate.map'; libname mylibxml xmlv2 automap=replace xmlmap=map;&lt;BR /&gt;ERROR: The XMLV2 engine cannot be found.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;29 +&lt;BR /&gt;proc print data=mylibxml.team; filename inxml clear; filename map clear; libname&lt;BR /&gt;ERROR: Libname MYLIBXML is not assigned.&lt;BR /&gt;NOTE: Fileref INXML has been deassigned.&lt;BR /&gt;NOTE: Fileref MAP has been deassigned.&lt;BR /&gt;30 + mylibxml clear;&lt;BR /&gt;WARNING: Libname MYLIBXML is not assigned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that the Libname need to be assigned however I tried assigning a Libname but it's still giving me an error. Can you please help and let me know as in what's going on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sonia&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2016 13:22:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/286565#M59506</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-07-23T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple .xml Files Upload</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/286693#M59514</link>
      <description>&lt;P&gt;Can anyone please help &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sonia !!&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2016 18:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-xml-Files-Upload/m-p/286693#M59514</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-07-24T18:44:58Z</dc:date>
    </item>
  </channel>
</rss>

