<?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: Document Conversion (.xlsx to .txt) in Data Management Studio 2.5 in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Document-Conversion-xlsx-to-txt-in-Data-Management-Studio-2-5/m-p/643215#M19163</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I don't think using the document conversion node is the way to go. Would suggest to download and install Microsoft Access Runtime which does provide the MS Excel ODBC drivers. Next you use an sql query node with the following connection string in the DSN value:&lt;/P&gt;
&lt;P&gt;DBQ=C:\MyFolder\current BLIO promos.xls;Driver={Microsoft Excel Driver (*.xls)};DriverId=790;MaxBufferSize=2048;PageTimeout=5;HDR=Yes;IMEX=1;ReadOnly=0;DFXTYPE=ODBC&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;DBQ=C:\MyFolder\current BLIO promos.xlsx;Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)};MaxBufferSize=2048;PageTimeout=5;HDR=Yes;IMEX=1;ReadOnly=0;DFXTYPE=ODBC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and in the SQL_STMT --&amp;gt; Select * from [Sheet1$]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to adapt some of these above&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 08:38:39 GMT</pubDate>
    <dc:creator>VincentRejany</dc:creator>
    <dc:date>2020-04-27T08:38:39Z</dc:date>
    <item>
      <title>Document Conversion (.xlsx to .txt) in Data Management Studio 2.5</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Document-Conversion-xlsx-to-txt-in-Data-Management-Studio-2-5/m-p/642668#M19154</link>
      <description>&lt;P&gt;I am trying to write a quick Data Job that will convert an .xlxs file to a delimited .txt file.&lt;/P&gt;&lt;P&gt;I am using the&amp;nbsp;Document Conversion Node for my input file and Document Extraction node and then output to a text file.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Attached is a sample of the output that has been converted to Excel.&amp;nbsp; I cannot figure out why the unique lines continuously repeat.&amp;nbsp; A file of 300,000 records explodes to several million as a result.&amp;nbsp; I reviewed the SAS documentation for this process and am doing everything as it says to.&amp;nbsp; Unfortunately, I cannot find help anywhere else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any guidance on making this perform as I expect.&amp;nbsp; Thank you.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 16:47:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Document-Conversion-xlsx-to-txt-in-Data-Management-Studio-2-5/m-p/642668#M19154</guid>
      <dc:creator>CAHarbison</dc:creator>
      <dc:date>2020-04-24T16:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Document Conversion (.xlsx to .txt) in Data Management Studio 2.5</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Document-Conversion-xlsx-to-txt-in-Data-Management-Studio-2-5/m-p/643215#M19163</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I don't think using the document conversion node is the way to go. Would suggest to download and install Microsoft Access Runtime which does provide the MS Excel ODBC drivers. Next you use an sql query node with the following connection string in the DSN value:&lt;/P&gt;
&lt;P&gt;DBQ=C:\MyFolder\current BLIO promos.xls;Driver={Microsoft Excel Driver (*.xls)};DriverId=790;MaxBufferSize=2048;PageTimeout=5;HDR=Yes;IMEX=1;ReadOnly=0;DFXTYPE=ODBC&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;DBQ=C:\MyFolder\current BLIO promos.xlsx;Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)};MaxBufferSize=2048;PageTimeout=5;HDR=Yes;IMEX=1;ReadOnly=0;DFXTYPE=ODBC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and in the SQL_STMT --&amp;gt; Select * from [Sheet1$]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to adapt some of these above&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 08:38:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Document-Conversion-xlsx-to-txt-in-Data-Management-Studio-2-5/m-p/643215#M19163</guid>
      <dc:creator>VincentRejany</dc:creator>
      <dc:date>2020-04-27T08:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Document Conversion (.xlsx to .txt) in Data Management Studio 2.5</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Document-Conversion-xlsx-to-txt-in-Data-Management-Studio-2-5/m-p/643287#M19164</link>
      <description>&lt;P&gt;Thank you&amp;nbsp; - I will try this.&amp;nbsp; If you go with this route, do you need to define a range in Excel?&amp;nbsp; The Excel file I am using in the job has rows added to it daily.&amp;nbsp; Would I have to be redefining the range every time I ran it?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 13:42:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Document-Conversion-xlsx-to-txt-in-Data-Management-Studio-2-5/m-p/643287#M19164</guid>
      <dc:creator>CAHarbison</dc:creator>
      <dc:date>2020-04-27T13:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Document Conversion (.xlsx to .txt) in Data Management Studio 2.5</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Document-Conversion-xlsx-to-txt-in-Data-Management-Studio-2-5/m-p/644933#M19182</link>
      <description>&lt;P&gt;As far as I know, you don't have to, as the sheet is already a range (Sheet1$).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 08:49:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Document-Conversion-xlsx-to-txt-in-Data-Management-Studio-2-5/m-p/644933#M19182</guid>
      <dc:creator>VincentRejany</dc:creator>
      <dc:date>2020-05-04T08:49:45Z</dc:date>
    </item>
  </channel>
</rss>

