<?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: Read Data from DB2 table - Handle String with Double Qoutes in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Read-Data-from-DB2-table-Handle-String-with-Double-Quotes/m-p/232988#M42501</link>
    <description>&lt;P&gt;data type in DB2 is defined as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;FONT face="Calibri" size="3"&gt;Column name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Data type name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Length&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scale Nulls&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;FONT face="Calibri" size="3"&gt;-------------------------------------------------- &amp;nbsp; &amp;nbsp; &amp;nbsp; ----------- &amp;nbsp; &amp;nbsp; &amp;nbsp; ------&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;FONT face="Calibri" size="3"&gt;ACCT_REF_NB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CHARACTER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 No&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, looks like there a problem with buffer(readbuff). The same record is written twice after approx 100 observations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2016 20:55:00 GMT</pubDate>
    <dc:creator>neverstoplearning</dc:creator>
    <dc:date>2016-01-05T20:55:00Z</dc:date>
    <item>
      <title>Read Data from DB2 table - Handle String with Double Quotes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Data-from-DB2-table-Handle-String-with-Double-Quotes/m-p/232956#M42479</link>
      <description>&lt;P&gt;Currently, we are&amp;nbsp;reading&amp;nbsp;DB2 table using korn shell that create a txt file(Ç as delimiter)&amp;nbsp;which later bring into SAS and its working fine.&lt;/P&gt;
&lt;P&gt;We have a requirment get rid of korn shell script and directly read data from db2 using sas script. When I am reading data from db2 table using sql pass thru one of the column is getting truncated (please look for value 00011111111 in below string. Need assistance to sove this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;20150901Ç0Ç0Ç0Ç0Ç0Ç0Ç0ÇÇ"00011111111"Ç20140709Ç5500.000000000012Ç0Ç0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 22:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Data-from-DB2-table-Handle-String-with-Double-Quotes/m-p/232956#M42479</guid>
      <dc:creator>neverstoplearning</dc:creator>
      <dc:date>2016-01-05T22:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Read Data from DB2 table - Handle String with Double Qoutes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Data-from-DB2-table-Handle-String-with-Double-Quotes/m-p/232978#M42496</link>
      <description>&lt;P&gt;What (exactly) is the data type in DB2?&lt;/P&gt;
&lt;P&gt;Share your SQL to extract that columns and move it to SAS.&lt;/P&gt;
&lt;P&gt;How is it truncated?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 21:18:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Data-from-DB2-table-Handle-String-with-Double-Quotes/m-p/232978#M42496</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-11-03T21:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Read Data from DB2 table - Handle String with Double Qoutes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Data-from-DB2-table-Handle-String-with-Double-Quotes/m-p/232988#M42501</link>
      <description>&lt;P&gt;data type in DB2 is defined as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;FONT face="Calibri" size="3"&gt;Column name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Data type name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Length&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scale Nulls&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;FONT face="Calibri" size="3"&gt;-------------------------------------------------- &amp;nbsp; &amp;nbsp; &amp;nbsp; ----------- &amp;nbsp; &amp;nbsp; &amp;nbsp; ------&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;FONT face="Calibri" size="3"&gt;ACCT_REF_NB &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CHARACTER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 No&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, looks like there a problem with buffer(readbuff). The same record is written twice after approx 100 observations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 20:55:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Data-from-DB2-table-Handle-String-with-Double-Quotes/m-p/232988#M42501</guid>
      <dc:creator>neverstoplearning</dc:creator>
      <dc:date>2016-01-05T20:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Read Data from DB2 table - Handle String with Double Qoutes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Data-from-DB2-table-Handle-String-with-Double-Quotes/m-p/233054#M42532</link>
      <description>&lt;P&gt;You are still not sharing your SQL, or given any description about the truncation.&lt;/P&gt;
&lt;P&gt;And by adding more "problems" to the same thread doesn't really help, especially if you don't describe that either.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 12:39:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Data-from-DB2-table-Handle-String-with-Double-Quotes/m-p/233054#M42532</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-11-04T12:39:07Z</dc:date>
    </item>
  </channel>
</rss>

