<?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 SAS-DB2 connectivity(mainframe) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-DB2-connectivity-mainframe/m-p/241387#M55686</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a DB2 query in mainframe which is pulling data from tables. I'm currently trying to run the same DB2 query in SAS program and want to fetch the data from the tables. I'm new to SAS-DB2. Please provide me pointers on how to achieve this.&lt;/P&gt;
&lt;P&gt;I tried the following:&lt;/P&gt;
&lt;P&gt;PROC SQL;&lt;BR /&gt;CONNECT TO DB2 (SSID=DBQ2);&lt;BR /&gt;%PUT &amp;amp;SQLXMSG;&lt;BR /&gt;CREATE TABLE SASDS AS&lt;BR /&gt;SELECT * FROM CONNECTION TO DB2&lt;BR /&gt;(&lt;BR /&gt;SQL QUERY&lt;BR /&gt;);&lt;BR /&gt;%PUT &amp;amp;SQLXMSG;&lt;BR /&gt;DISCONNECT FROM DB2;&lt;BR /&gt;%PUT &amp;amp;SQLXMSG;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but was getting error.&lt;/P&gt;
&lt;P&gt;ERROR: Unable to load the DB2 Call Attach Facility. &amp;nbsp;&lt;BR /&gt;ERROR: A Connection to the DB2 DBMS is not currently supported, or IS not installed at your site.&lt;BR /&gt;&lt;BR /&gt;PROC SQL set option NOEXEC &lt;BR /&gt;NOTE: Statement not executed due to NOEXEC option. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Dec 2015 15:29:42 GMT</pubDate>
    <dc:creator>Petersas</dc:creator>
    <dc:date>2015-12-31T15:29:42Z</dc:date>
    <item>
      <title>SAS-DB2 connectivity(mainframe)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-DB2-connectivity-mainframe/m-p/241387#M55686</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a DB2 query in mainframe which is pulling data from tables. I'm currently trying to run the same DB2 query in SAS program and want to fetch the data from the tables. I'm new to SAS-DB2. Please provide me pointers on how to achieve this.&lt;/P&gt;
&lt;P&gt;I tried the following:&lt;/P&gt;
&lt;P&gt;PROC SQL;&lt;BR /&gt;CONNECT TO DB2 (SSID=DBQ2);&lt;BR /&gt;%PUT &amp;amp;SQLXMSG;&lt;BR /&gt;CREATE TABLE SASDS AS&lt;BR /&gt;SELECT * FROM CONNECTION TO DB2&lt;BR /&gt;(&lt;BR /&gt;SQL QUERY&lt;BR /&gt;);&lt;BR /&gt;%PUT &amp;amp;SQLXMSG;&lt;BR /&gt;DISCONNECT FROM DB2;&lt;BR /&gt;%PUT &amp;amp;SQLXMSG;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but was getting error.&lt;/P&gt;
&lt;P&gt;ERROR: Unable to load the DB2 Call Attach Facility. &amp;nbsp;&lt;BR /&gt;ERROR: A Connection to the DB2 DBMS is not currently supported, or IS not installed at your site.&lt;BR /&gt;&lt;BR /&gt;PROC SQL set option NOEXEC &lt;BR /&gt;NOTE: Statement not executed due to NOEXEC option. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance!!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 15:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-DB2-connectivity-mainframe/m-p/241387#M55686</guid>
      <dc:creator>Petersas</dc:creator>
      <dc:date>2015-12-31T15:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS-DB2 connectivity(mainframe)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-DB2-connectivity-mainframe/m-p/241391#M55687</link>
      <description>&lt;P&gt;Seems that something is lacking in the configuration.&lt;/P&gt;
&lt;P&gt;Where is your SAS program executing?&lt;/P&gt;
&lt;P&gt;What kind of DB2 client are your using (native, ODBC)?&lt;/P&gt;
&lt;P&gt;Do you have the necessary license?&lt;/P&gt;
&lt;P&gt;Does anybody at your site managed to connect from SAS to this DB2 earlier?&lt;/P&gt;
&lt;P&gt;Versions (SAS, DB2)...?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/techsup/notes/v8/1/010.html" target="_blank"&gt;http://support.sas.com/techsup/notes/v8/1/010.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2015 15:53:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-DB2-connectivity-mainframe/m-p/241391#M55687</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-12-31T15:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS-DB2 connectivity(mainframe)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-DB2-connectivity-mainframe/m-p/241459#M55689</link>
      <description>&lt;P&gt;Hi LinusH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where is your SAS program executing?&amp;nbsp;&amp;nbsp; -- SAS is working on Mainframe.&lt;/P&gt;
&lt;P&gt;What kind of DB2 client are your using (native, ODBC)? -- SAS SQL PROC&lt;/P&gt;
&lt;P&gt;Do you have the necessary license? --&lt;/P&gt;
&lt;P&gt;---Base Product&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;---SAS/ACCESS Interface to DB2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;---SAS/ACCESS Interface to IMS-DL/I&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anybody at your site managed to connect from SAS to this DB2 earlier?&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Versions (SAS, DB2)...? -- SAS 9.1.3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2016 03:29:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-DB2-connectivity-mainframe/m-p/241459#M55689</guid>
      <dc:creator>Petersas</dc:creator>
      <dc:date>2016-01-01T03:29:56Z</dc:date>
    </item>
  </channel>
</rss>

