<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 1518: DB2 SQL query on member file returns hex values</title><link href="https://sourceforge.net/p/squirrel-sql/bugs/1518/" rel="alternate"/><link href="https://sourceforge.net/p/squirrel-sql/bugs/1518/feed.atom" rel="self"/><id>https://sourceforge.net/p/squirrel-sql/bugs/1518/</id><updated>2023-06-18T20:04:44.780000Z</updated><subtitle>Recent changes to 1518: DB2 SQL query on member file returns hex values</subtitle><entry><title>#1518 DB2 SQL query on member file returns hex values</title><link href="https://sourceforge.net/p/squirrel-sql/bugs/1518/?limit=25#7959" rel="alternate"/><published>2023-06-18T20:04:44.780000Z</published><updated>2023-06-18T20:04:44.780000Z</updated><author><name>Gerd Wagner</name><uri>https://sourceforge.net/u/gerdwagner/</uri></author><id>https://sourceforge.net7cc7cd7061f78f8cc51342f30fd0c10aed85511f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry, I can't reproduce your problem neither on DB2/Linux nor on  DB2 UDB for AS/400.&lt;/p&gt;
&lt;p&gt;Are you really using the JDBC-ODBC bridge driver? This generic driver is outdated and you may want to try a native DB2 JDBC driver. Native JDBC drivers are available  for all DB2 versions.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1518 DB2 SQL query on member file returns hex values</title><link href="https://sourceforge.net/p/squirrel-sql/bugs/1518/?limit=25#9d79" rel="alternate"/><published>2023-06-12T09:52:06.862000Z</published><updated>2023-06-12T09:52:06.862000Z</updated><author><name>Duane Peters</name><uri>https://sourceforge.net/u/duanerrr/</uri></author><id>https://sourceforge.netb27af61290bff9cec4c13f772a968f0f5f275fe8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The first hex pair should be 'f2', and not as it states on the initial view '2'.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>DB2 SQL query on member file returns hex values</title><link href="https://sourceforge.net/p/squirrel-sql/bugs/1518/" rel="alternate"/><published>2023-06-09T10:38:35.660000Z</published><updated>2023-06-09T10:38:35.660000Z</updated><author><name>Duane Peters</name><uri>https://sourceforge.net/u/duanerrr/</uri></author><id>https://sourceforge.net818a6c4063a7da7e4e453cecfd6c702be2f91613</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using Squirrel SQL client with the ODBC driver to connect to the DB2 database, which has no issues in extracting data from the db tables.&lt;/p&gt;
&lt;p&gt;I want to extract data from a member file, and have created the alias, and executed the query:&lt;/p&gt;
&lt;p&gt;CREATE ALIAS MFXFER.I316_E157324133 FOR MFXFER.GIK316BKP ("E157324133");&lt;br/&gt;
SELECT * FROM MFXFER.I316_E157324133;&lt;br/&gt;
DROP ALIAS IF EXISTS MFXFER.I316_E157324133;&lt;/p&gt;
&lt;p&gt;When I execute the query the returned data is made up of only hex pairs (snippet line 1):&lt;/p&gt;
&lt;p&gt;2  f1  f0  40  40  40  40  40  40  40  40  40  40  40  f8  f6  f2  f0  f2  f3  f0  f6  f0  f6  f0  f1  f0  f0  f0  f0  f0  f1  f0  f1  f1  f2  f6  f4  f5  f3  f6  40  40  40  40  40  40  40  40  e5  d6  60  c2  f3  60  f0  f2  f4  40  40  40  40  40  40  40  f2  f0  f2  f3  f0  f6  f0  f6  40  40  40  40  e2  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40  40&lt;/p&gt;
&lt;p&gt;This does not reflect the ASCII values I can see in the member, when I view the same using RDi (Rational Developer for i), or I run the same query directly on a DB2 client.&lt;br/&gt;
210           862023060601000001011264536        VO-B3-024       20230606    S                                                                                                      &lt;br/&gt;
When I copy and paste the hex to a translation tool, I receive only special characters.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>