<?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 Getting error message during data load to Db2 from SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336913#M272503</link>
    <description>&lt;P&gt;HI There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table already available in Db2 and i am running my sas code to load into this table from another sas table, using pass through facility.&lt;/P&gt;&lt;P&gt;And it is a proc append running behind.&lt;/P&gt;&lt;P&gt;The columnnames are same both in sas and DB2.&lt;/P&gt;&lt;P&gt;Now&amp;nbsp; i am getting some unusual error from Db2 on one column name in the table, and the error message is as folows,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: [IBM][CLI Driver][DB2/AIX64] SQL0206N&amp;nbsp; "column_name" is not valid in the context&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone please help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ratheesh Rajan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2017 10:39:30 GMT</pubDate>
    <dc:creator>rara</dc:creator>
    <dc:date>2017-03-01T10:39:30Z</dc:date>
    <item>
      <title>Getting error message during data load to Db2 from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336913#M272503</link>
      <description>&lt;P&gt;HI There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table already available in Db2 and i am running my sas code to load into this table from another sas table, using pass through facility.&lt;/P&gt;&lt;P&gt;And it is a proc append running behind.&lt;/P&gt;&lt;P&gt;The columnnames are same both in sas and DB2.&lt;/P&gt;&lt;P&gt;Now&amp;nbsp; i am getting some unusual error from Db2 on one column name in the table, and the error message is as folows,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: [IBM][CLI Driver][DB2/AIX64] SQL0206N&amp;nbsp; "column_name" is not valid in the context&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone please help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ratheesh Rajan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 10:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336913#M272503</guid>
      <dc:creator>rara</dc:creator>
      <dc:date>2017-03-01T10:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error message during data load to Db2 from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336925#M272504</link>
      <description>&lt;P&gt;Can you post the SQL, and a describe table from the database. &amp;nbsp;Without seeing either its hard to say.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:01:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336925#M272504</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-01T11:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error message during data load to Db2 from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336944#M272505</link>
      <description>&lt;P&gt;Have you already checked all possible reasons for this message by consulting &lt;A href="https://www.ibm.com/support/knowledgecenter/en/SSEPGG_9.7.0/com.ibm.db2.luw.messages.sql.doc/doc/msql00206n.html" target="_blank"&gt;https://www.ibm.com/support/knowledgecenter/en/SSEPGG_9.7.0/com.ibm.db2.luw.messages.sql.doc/doc/msql00206n.html&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336944#M272505</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-01T11:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error message during data load to Db2 from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336945#M272506</link>
      <description>&lt;P&gt;Thanks for ur respnse..&lt;/P&gt;&lt;P&gt;please find below the table structure in Db2 and the piece of sas code to load the data used with passthorugh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE TABLE "SOR_IDW"."table_name" (&lt;/P&gt;&lt;P&gt;&amp;nbsp; "COMPANY"&amp;nbsp;&amp;nbsp;&amp;nbsp; VARCHAR(7),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "SPLITCLMTYPE"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHARACTER(2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "HAZARDS"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VARCHAR(10),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "DATEOCCURREDFROM"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "DATEOCCURREDTO"&amp;nbsp;&amp;nbsp; DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "POSTCODE"&amp;nbsp;&amp;nbsp;&amp;nbsp; VARCHAR(42),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "EXCLUDING"&amp;nbsp; VARCHAR(21),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "EXCLUDING_WORDS"&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; VARCHAR(151),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "ADDITIONAL_WORDS_TO_SEARCH_WORDS" VARCHAR(71),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "AUTHOR"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VARCHAR(15),&lt;/P&gt;&lt;P&gt;&amp;nbsp; "DATE_CREATED"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS code :&lt;/P&gt;&lt;P&gt;proc append DATA=&amp;amp;sourceLib..&amp;amp;sourceDataset.&lt;/P&gt;&lt;P&gt;&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; BASE= &amp;amp;TargetLib..&amp;amp;TargetTable. (BULKLOAD= YES&amp;nbsp;&amp;nbsp; BL_METHOD=CLILOAD) force;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the issue is with the column ADDITIONAL_WORDS_TO_SEARCH_WORDS.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336945#M272506</guid>
      <dc:creator>rara</dc:creator>
      <dc:date>2017-03-01T11:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error message during data load to Db2 from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336951#M272507</link>
      <description>&lt;P&gt;Are those quotes around column names really necessary? I never see them in SQL query statements run on our UDB/DB2.&lt;/P&gt;
&lt;P&gt;Since ADDITIONAL_WORDS_TO_SEARCH_WORDS is already 32 bytes, the additional quotes might trigger a length restriction somewhere on the way between SAS and DB2.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 12:03:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336951#M272507</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-01T12:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error message during data load to Db2 from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336952#M272508</link>
      <description>&lt;P&gt;PS Moved the topic to "General Programming", as it is neither a installation nor administration issue.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 12:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336952#M272508</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-01T12:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error message during data load to Db2 from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336966#M272509</link>
      <description>&lt;P&gt;&lt;SPAN&gt;ADDITIONAL_WORDS_TO_SEARCH_WORD is longer than 32 chars, something that SAS does not support.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A PROC CONTENTS in the DB2 libref should reveal that (and compare with the source SAS data set).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 13:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-error-message-during-data-load-to-Db2-from-SAS/m-p/336966#M272509</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-03-01T13:22:12Z</dc:date>
    </item>
  </channel>
</rss>

