<?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: How to fetch data faster from Mainframe and load data faster into SQL in All Things Community</title>
    <link>https://communities.sas.com/t5/All-Things-Community/How-to-fetch-data-faster-from-Mainframe-and-load-data-faster/m-p/625021#M4206</link>
    <description>&lt;P&gt;Those are two different types of operations.&amp;nbsp; In the first one you are just pointing a fileref at a file that you will access with with the FTP protocol.&amp;nbsp; To turn that file into data you will need to read it with a data step.&amp;nbsp; No data will transfer until you try to read from that fileref.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the second you appear to be appending data to an existing table in your remote database via the ODBC engine.&amp;nbsp; To improve transfer you might need to get the SAS/Access product for your specific to your database instead of using generic ODBC engine. Look for bulk load options on those drivers.&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2020 18:12:35 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2020-02-15T18:12:35Z</dc:date>
    <item>
      <title>How to fetch data faster from Mainframe and load data faster into SQL</title>
      <link>https://communities.sas.com/t5/All-Things-Community/How-to-fetch-data-faster-from-Mainframe-and-load-data-faster/m-p/624850#M4202</link>
      <description>&lt;P&gt;Currently I'm using below code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;To fetch data from Mainframe&amp;nbsp;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FILENAME dset1 FTP "'&amp;amp;fac'" RECFM=VB LRECL=266 USER=&amp;amp;USERID PASS=&amp;amp;password&amp;nbsp;HOST="&amp;amp;host" DEBUG PROMPT;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;U&gt;To load into SQL&lt;/U&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;libname sql_test odbc dsn=XXXX_test user="XXXXX" pass="XXXXXX" schema=XXXXX;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc sql;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;connect to odbc (dsn=XXXXX_test user=XXXX pwd=XXXX);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;execute(truncate table Schema.ABC) by odbc;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;insert into sql_test.ABC(Name, height)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;select * from _all;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;disconnect from odbc;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;quit ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...............................................................................................................................................................&lt;/P&gt;&lt;P&gt;Above code is working perfectly fine, but I'm looking for &lt;EM&gt;&lt;STRONG&gt;faster&lt;/STRONG&gt;&lt;/EM&gt; way to load and fetch data... please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 14:55:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/How-to-fetch-data-faster-from-Mainframe-and-load-data-faster/m-p/624850#M4202</guid>
      <dc:creator>Sharath_naik</dc:creator>
      <dc:date>2020-02-14T14:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch data faster from Mainframe and load data faster into SQL</title>
      <link>https://communities.sas.com/t5/All-Things-Community/How-to-fetch-data-faster-from-Mainframe-and-load-data-faster/m-p/624989#M4205</link>
      <description>&lt;P&gt;There are no options for speeding up single FTP file transfers - it will use whatever network bandwidth it is allowed. You could run two or more FTP file transfers in parallel by selecting different sets of records from the originating file then append them on the target computer. You could try parallel SQL loads as well instead of appending.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How long do the FTP step and SQL load take now?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 04:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/How-to-fetch-data-faster-from-Mainframe-and-load-data-faster/m-p/624989#M4205</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-02-15T04:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch data faster from Mainframe and load data faster into SQL</title>
      <link>https://communities.sas.com/t5/All-Things-Community/How-to-fetch-data-faster-from-Mainframe-and-load-data-faster/m-p/625021#M4206</link>
      <description>&lt;P&gt;Those are two different types of operations.&amp;nbsp; In the first one you are just pointing a fileref at a file that you will access with with the FTP protocol.&amp;nbsp; To turn that file into data you will need to read it with a data step.&amp;nbsp; No data will transfer until you try to read from that fileref.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the second you appear to be appending data to an existing table in your remote database via the ODBC engine.&amp;nbsp; To improve transfer you might need to get the SAS/Access product for your specific to your database instead of using generic ODBC engine. Look for bulk load options on those drivers.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 18:12:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/How-to-fetch-data-faster-from-Mainframe-and-load-data-faster/m-p/625021#M4206</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-02-15T18:12:35Z</dc:date>
    </item>
  </channel>
</rss>

