<?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>Question Re: Proxy a iSeries table with 64bit dbsrv engine in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848608#M4879451</link>
    <description>&lt;P&gt;The Minidump shows this 
VERSION=10.0.1.4239&lt;BR /&gt;
FILENAME=C:ProgramDataSQL Anywhere 10diagnostics&lt;BR /&gt;SA10_20110921_093647_1324.crash_log&lt;BR /&gt;
OS=Windows Vista Build 7601 Service Pack 1&lt;BR /&gt;
PROCESSOR=X86_64&lt;BR /&gt;
EXEC_ARCH=X86_64&lt;BR /&gt;
EXEC_PATH=C:Program FilesSQL Anywhere 10x64dbsrv10.exe&lt;BR /&gt;
MODULE_PATH=C:Program FilesSQL Anywhere 10x64dbserv10.dll&lt;BR /&gt;
EXCEPTION_PTR=000000003778F1A0&lt;BR /&gt;
EXCEPTION_CODE=3221225477&lt;BR /&gt;
EXCEPTION_FLAGS=0&lt;BR /&gt;
EXCEPTION_RECORD=0000000000000000&lt;BR /&gt;
EXCEPTION_ADDRESS=000007FEFA52536E&lt;BR /&gt;
EXCEPTION_NumParameters=2&lt;BR /&gt;
EXCEPTION_Param0=0000000000000000&lt;BR /&gt;
EXCEPTION_Param1=00000000000000B0&lt;BR /&gt;
TRYING_TO_SAVE_MINI_DUMP C:ProgramDataSQL Anywhere 10diagnosticsSA10_20110921_093647_1324.mini_core&lt;BR /&gt;
DUMPLEVEL 0&lt;BR /&gt;
SAVING_MINI_DUMP_COMPLETED&lt;BR /&gt;
CRASH_LOG_COMPLETE&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2011 03:44:22 GMT</pubDate>
    <dc:creator>thomas_duemesnil</dc:creator>
    <dc:date>2011-09-21T03:44:22Z</dc:date>
    <item>
      <title>Proxy a iSeries table with 64bit dbsrv engine</title>
      <link>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaq-p/13848605</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I currently have a problem with a database instance that crashes when I access a proxy table from a iSeries System (DB2). &lt;/P&gt;
&lt;P&gt;The Environment is Window 2008 R2 x64, SA 10.0.1.4239, iAccess for Windows V7R1(IBM ODBC Driver v13.00.01.00 Date 1/15/2010 CWBODBC.DLL)&lt;/P&gt;
&lt;P&gt;The Software installer has installed a 64bit and a 32bit ODBC Driver. When I start the Database with the 32bit Database engine the System can access the remote table and returns a result set.&lt;/P&gt;
&lt;P&gt;When started in 64bit mode a plain select against the proxy table &lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="nb"&gt;select&lt;/SPAN&gt; &lt;SPAN class="o"&gt;*&lt;/SPAN&gt; &lt;SPAN class="n"&gt;from&lt;/SPAN&gt; &lt;SPAN class="n"&gt;eurinvx64&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;Crashes the database with an internal Server error after a couple of seconds. ISQL has already prepared the result set columns but I think this is done based on the locally stored proxy definition. &lt;/P&gt;
&lt;P&gt;My knowledge of the iSeries environment is very limited. Does anybody know if a better 64bit ODBC Driver is available ? &lt;/P&gt;
&lt;P&gt;I have tested first with the iSeries Software V6R1 but the behaviour was the same.&lt;/P&gt;
&lt;P&gt;Any tips are welcome&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2011 11:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaq-p/13848605</guid>
      <dc:creator>thomas_duemesnil</dc:creator>
      <dc:date>2011-09-20T11:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy a iSeries table with 64bit dbsrv engine</title>
      <link>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848606#M4879449</link>
      <description>&lt;P&gt;It seems that there should be a specific &lt;A href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzaii%2Frzaiiodbc17.htm"&gt;64-bit Microsoft Windows ODBC driver available&lt;/A&gt; for the iSeries database:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The ODBC architecture involves an application, driver manager, ODBC driver, and a data source. IBM i Access provides both a 32-bit and 64-bit ODBC driver. The 64-bit ODBC driver is automatically installed along with the 32-bit ODBC driver when running under a 64-bit version of Windows . ODBC applications running in 64-bit versions of Windows will automatically use the appropriate ODBC driver, depending on what bit version the application was compiled for. For example, the 64-bit driver can only be used by a 64-bit application.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Some follow-up questions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;How have you defined the connection string to the remote server, exactly? Are you using a DSN or are you providing a connection string directly?&lt;/LI&gt;
&lt;LI&gt;If you're using a DSN to connect, how have you defined the DSN in Windows, exactly? Did you use the &lt;A href="http://support.microsoft.com/kb/942976"&gt;32-bit or the 64-bit ODBC Administrator&lt;/A&gt; to create the DSN? Is it a User or System DSN?&lt;/LI&gt;
&lt;LI&gt;Are you starting the database server on the command line or via a service definition?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 20 Sep 2011 12:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848606#M4879449</guid>
      <dc:creator>jeff_albion</dc:creator>
      <dc:date>2011-09-20T12:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy a iSeries table with 64bit dbsrv engine</title>
      <link>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848607#M4879450</link>
      <description>&lt;P&gt;I have installed the complete "i Access for Windows" which installs a 32bit and 64bit ODBC Driver. &lt;/P&gt;
&lt;P&gt;With %windir%system32odbcad32.exe I have created a system DSN for the proxy connection called BUSA for use with the 64bit database engine.&lt;/P&gt;
&lt;P&gt;With %windir%SysWOW64odbcad32.exe I have created a system DSN for the proxy connection called BUSA32 for use with the 32bit database engine.&lt;/P&gt;
&lt;P&gt;For testing I build a empty database and defined &lt;BR /&gt;
    CREATE SERVER "S108FC6Px64" CLASS 'DB2ODBC' USING 'BUSA';&lt;BR /&gt;
    CREATE SERVER "S108FC6P" CLASS 'DB2ODBC' USING 'BUSA32';&lt;BR /&gt;
    CREATE EXTERNLOGIN "DBA" TO "S108FC6Px64" REMOTE LOGIN 'europe'&lt;BR /&gt;    IDENTIFIED BY ENCRYPTED 'XXXXX';&lt;BR /&gt;
    CREATE EXTERNLOGIN "DBA" TO "S108FC6P" REMOTE LOGIN 'europe'&lt;BR /&gt;    IDENTIFIED BY ENCRYPTED 'XXXXX';&lt;BR /&gt;
    CREATE EXISTING TABLE "DBA"."EURINVx64" (
    "LOT#" char(10) NOT NULL,
        ... more fields ...
    ) AT 'S108FC6Px64;S108FC6P;EUROPE;EURINV';&lt;BR /&gt;
    CREATE EXISTING TABLE "DBA"."EURINV" (
    "LOT#" char(10) NOT NULL,
        ... more fields ...
    ) AT 'S108FC6P;S108FC6P;EUROPE;EURINV';&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;With this database prepared I can start the database with 
%SQLANY10%x64dbsrv10.exe -x SharedMemory "D:Test DBTest.db" 
%SQLANY10%win32dbsrv10.exe -x SharedMemory "D:Test DBTest.db"&lt;/P&gt;
&lt;P&gt;With the 32bit a select * from eurinv works and returns a result set.
With the 64 bit a select * from eurinvx64 brings a Internal error.&lt;/P&gt;
&lt;P&gt;I'm running my tests with manually started engine. The reason is that my production database, that runs as a service, was crashing when the event that reads the proxy table was crashing.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 03:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848607#M4879450</guid>
      <dc:creator>thomas_duemesnil</dc:creator>
      <dc:date>2011-09-21T03:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy a iSeries table with 64bit dbsrv engine</title>
      <link>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848608#M4879451</link>
      <description>&lt;P&gt;The Minidump shows this 
VERSION=10.0.1.4239&lt;BR /&gt;
FILENAME=C:ProgramDataSQL Anywhere 10diagnostics&lt;BR /&gt;SA10_20110921_093647_1324.crash_log&lt;BR /&gt;
OS=Windows Vista Build 7601 Service Pack 1&lt;BR /&gt;
PROCESSOR=X86_64&lt;BR /&gt;
EXEC_ARCH=X86_64&lt;BR /&gt;
EXEC_PATH=C:Program FilesSQL Anywhere 10x64dbsrv10.exe&lt;BR /&gt;
MODULE_PATH=C:Program FilesSQL Anywhere 10x64dbserv10.dll&lt;BR /&gt;
EXCEPTION_PTR=000000003778F1A0&lt;BR /&gt;
EXCEPTION_CODE=3221225477&lt;BR /&gt;
EXCEPTION_FLAGS=0&lt;BR /&gt;
EXCEPTION_RECORD=0000000000000000&lt;BR /&gt;
EXCEPTION_ADDRESS=000007FEFA52536E&lt;BR /&gt;
EXCEPTION_NumParameters=2&lt;BR /&gt;
EXCEPTION_Param0=0000000000000000&lt;BR /&gt;
EXCEPTION_Param1=00000000000000B0&lt;BR /&gt;
TRYING_TO_SAVE_MINI_DUMP C:ProgramDataSQL Anywhere 10diagnosticsSA10_20110921_093647_1324.mini_core&lt;BR /&gt;
DUMPLEVEL 0&lt;BR /&gt;
SAVING_MINI_DUMP_COMPLETED&lt;BR /&gt;
CRASH_LOG_COMPLETE&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 03:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848608#M4879451</guid>
      <dc:creator>thomas_duemesnil</dc:creator>
      <dc:date>2011-09-21T03:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy a iSeries table with 64bit dbsrv engine</title>
      <link>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848609#M4879452</link>
      <description>&lt;P&gt;&lt;STRONG&gt;CREATE SERVER "S108FC6Px64" CLASS 'DB2ODBC' USING 'BUSA'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;CLASS 'DB2ODBC' is really intended for "DB2 LUW" setups, not "iSeries for AS/400". Can you perhaps try using the &lt;A href="http://dcx.sybase.com/index.html#1001/en/dbrfen10/rf-create-server-statement.html"&gt;generic 'ODBC' server class&lt;/A&gt;, rather than the specific '&lt;A href="http://dcx.sybase.com/index.html#1001/en/dbugen10/ug-db2odbc-odbc-omni-server.html"&gt;DB2ODBC&lt;/A&gt;' class?&lt;/P&gt;
&lt;P&gt;If changing this does not help, can you open a Command Prompt and type 'dbsupport -sa' and list the submission IDs that result from this command? This will upload the crash dump you have listed above to our servers and we will be able to investigate further.&lt;/P&gt;
&lt;P&gt;If this is an urgent issue, we would invite you to &lt;A href="http://www.sybase.com/contactus/support/"&gt;open a technical support case&lt;/A&gt; directly with technical support.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 13:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848609#M4879452</guid>
      <dc:creator>jeff_albion</dc:creator>
      <dc:date>2011-09-21T13:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy a iSeries table with 64bit dbsrv engine</title>
      <link>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848610#M4879453</link>
      <description>&lt;P&gt;The change of the class did not change the behaviour. &lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;CREATE&lt;/SPAN&gt; &lt;SPAN class="n"&gt;SERVER&lt;/SPAN&gt; &lt;SPAN class="s"&gt;"S108FC6Px64"&lt;/SPAN&gt; &lt;SPAN class="n"&gt;CLASS&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'ODBC'&lt;/SPAN&gt; &lt;SPAN class="n"&gt;USING&lt;/SPAN&gt; &lt;SPAN class="s"&gt;'BUSA'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;I have uploaded the dump files with id's 609071-609075. Perhaps you can check if this helps in this case.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2011 06:21:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/proxy-a-iseries-table-with-64bit-dbsrv-engine/qaa-p/13848610#M4879453</guid>
      <dc:creator>thomas_duemesnil</dc:creator>
      <dc:date>2011-09-22T06:21:11Z</dc:date>
    </item>
  </channel>
</rss>

