DG4MSQL version 11.2.0.3.0, any query results in 'got native error 1007'

I installed Oracle Gateway for MSSQL version 11.2.0.3.0 to a separate Oracle Home (platform is IBM AIX 6.1 64-bit). After setting up listener, init.ora file etc., I created database link and tried few queries (database version 11.2.0.2.0 with patches 12827726, 12827731 applied). All queries result in error message:
SQL> select count(*) from s4user@imosprodnew;
select count(*) from s4user@imosprodnew
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Legacy Driver]20450 {20450}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed language setting to us_english.
{01000,NativeErr = 5703}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed database context to 'imosprod'. {01000,NativeErr = 5701}
[Oracle][ODBC SQL Server Legacy Driver][SQL Server]The number '042100421004210042110421104211042190421904219' is out of the range for numeric
representation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Incorrect syntax near
'042100421004210042110421104211042190421904219'. {10103,NativeErr = 102}
ORA-02063: preceding 3 lines from IMOSPRODNEW
Trace file shows:
Heterogeneous Agent Release
11.2.0.3.0
ODBCINST set to "/app/oragw/product/11.2.0.3/dg4msql/driver/dg4msql.loc"
RC=-1 from HOSGIP for "LIBPATH"
LIBPATH from environment is "/app/oragw/product/11.2.0.3/dg4msql/driver/lib:/app/oragw/product/11.2.0.3/lib"
Setting LIBPATH to "/app/oragw/product/11.2.0.3/dg4msql/driver/lib:/app/oragw/product/11.2.0.3/dg4msql/driver/lib:/app/oragw/product/11.2.0.3/lib"
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/app/oragw/product/11.2.0.3/dg4msql/driver/lib/odbc.so"
treat_SQLLEN_as_compiled = 1
uencoding=UTF8
##>Connect Parameters (len=226)<##
## DRIVER=Oracle 11g dg4msql;
## Address=10.1.0.20\IMOS;
## Database=imosprod;
#! UID=IMOS;
#! PWD=*
## AnsiNPW=Yes;
## EnableQuotedIdentifiers=1;
## IANAAppCodePage=2252;
## OctetSizeCalculation=1;
## PadVarbinary=0;
## SupportNumericPrecisionGreaterThan38=1;
Exiting hgogenconstr, rc=0 at 2013/06/06-14:54:21
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 0 and sqlstate 20450; message follows...
[Oracle][ODBC SQL Server Legacy Driver]20450 {20450}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed language setting to us_english. {01000
,NativeErr = 5703}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed database context to 'imosprod'. {01000,NativeErr = 5701}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgocont, line 2688: calling SqlDriverConnect got sqlstate 20450
DriverName:HGmsss23.so, DriverVer:06.11.0052 (b0047, U0046)
DBMS Name:Microsoft SQL Server, DBMS Version:10.00.4000
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 1007 and sqlstate 22003; message follows...
[Oracle][ODBC SQL Server Legacy Driver][SQL Server]The number '042100421004210042110421104211042190421904219' is out of the range for numeric represe
ntation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Incorrect syntax near '0421004210042100421
10421104211042190421904219'. {10103,NativeErr = 102}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgoulcp, line 1932: calling SQLGetTypeInfo got sqlstate 22003
Exiting hgoulcp, rc=28500 at 2013/06/06-14:54:21 with error ptr FILE:hgoulcp.c LINE:1932 ID:SQLGetTypeInfo: LONGVARCHAR
hostmstr: 349326: RPC After Upload Caps
hostmstr: 349326: RPC Before Exit Agent
hostmstr: 349326: HOA Before hoalgof
Entered hgolgof at 2013/06/06-14:54:21
tflag:0
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 0 and sqlstate 20131; message follows...
[Oracle][ODBC SQL Server Legacy Driver]20131 {20131}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgolgof, line 180: calling SQLDisconnect got sqlstate 20131
Exiting hgolgof, rc=28500 at 2013/06/06-14:54:21 with error ptr FILE:hgolgof.c LINE:180 ID:Disconnect
hostmstr: 349326: HOA After hoalgof
hostmstr: 349326: HOA Before hoaexit
Entered hgoexit at 2013/06/06-14:54:21
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 0 and sqlstate HY010; message follows...
[DataDirect][ODBC lib] Function sequence error {HY010}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgoexit, line 126: calling SQLFreeHandle got sqlstate HY010
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:126 ID:Free ENV handle
hostmstr: 349326: HOA After hoaexit
hostmstr: 349326: RPC After Exit Agent
Could this be some sort of incompatibility between DG4MSQL version 11.2.0.3.0 and RDBMS version 11.2.0.2.0?
I did not find anything relevant by searching, really (apart from one thread suggesting that this could be caused by misconfigured Linux OS, but my platform is AIX)

I created test table and inserted data (using FreeTDS tsql tool):
locale is "en_US.UTF-8"
locale charset is "UTF-8"
1> use imosprod
2> go
1> create table TEST_MSSQL (PKEY integer, DATA varchar(20))
2> go
1> insert into TEST_MSSQL values (1000,'Data for key 1000')
2> go
1> insert into TEST_MSSQL values (2000,'Data for key 2000')
2> go
1> select * from TEST_MSSQL
2> go
PKEY    DATA
1000    Data for key 1000
2000    Data for key 2000
(2 rows affected)
Then, I queried test table with:
1) DG4ODBC 11.2.0.2 + IBM-branded DataDirect ODBC driver,
2) DG4MSQL 11.2.0.2 and
3) DG4MSQL 11.2.0.3
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning and Automatic Storage Management options
SQL> select * from test_mssql@imos;
      PKEY DATA
========== ====================
      1000 Data for key 1000
      2000 Data for key 2000
SQL> select * from test_mssql@imosprod;
      PKEY DATA
========== ====================
      1000 Data for key 1000
      2000 Data for key 2000
SQL> select * from test_mssql@imosprodnew;
select * from test_mssql@imosprodnew
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Legacy Driver]20450 {20450}[Oracle][ODBC SQL Server
Legacy Driver][SQL Server]Changed language setting to us_english.
{01000,NativeErr = 5703}[Oracle][ODBC SQL Server Legacy Driver][SQL
Server]Changed database context to 'imosprod'. {01000,NativeErr = 5701}
[Oracle][ODBC SQL Server Legacy Driver][SQL Server]The number
'042100421004210042110421104211042190421904219' is out of the range for numeric
representation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC
SQL Server Legacy Driver][SQL Server]Incorrect syntax near
'042100421004210042110421104211042190421904219'. {10103,NativeErr = 102}
ORA-02063: preceding 3 lines from IMOSPRODNEW
Seems to be a change in internal logic of DG4MSQL in version 11.2.0.3 to me.

Similar Messages

  • Since the Version 20.0 update when starting firefox I have frequently got the error message "firefox is having trouble your windows and tabs" .

    Since the version 20.0 update when starting firefox I have frequently got the error message "firefox is having trouble recovering your windows and tabs" This has not occurred with previous versions. If I click on the box "restore" and close firefox the problem reoccurs if I click close I lose the bookmark sidebar. I am so sick and tired of these frequent and buggy updates (every one since 17.0 have caused norton 360 to stop detecting tracking cookies for several weeks and or broken the norton toolbar) that I will uninstall firefox and switch to another browser if this does not change.

    See:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes
    If you have submitted crash reports then please post the IDs of one or more crash reports that have this format:
    *bp-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.
    *You can open the <b>about:crashes</b> page via the location bar, like you open a website.
    See:
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter
    *https://support.mozilla.org/kb/Mozilla+Crash+Reporter

  • JDev 10.1.3 - running any application results in connection pool error

    After creating a new project with a MySQL connection and since removing the project, I receive this error no matter which application I try to run through the local OC4J of JDev 10.1.3.0.4.3673.
    I can recreate this issue with a brand new app workspace & project with a single html file.
    06/07/06 14:08:19 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Jul 6, 2006 2:08:19 PM com.evermind.server.Application setConfig
    I'm guessing this is a connection pool issue, but I'm not sure how I associated this connection to the pool, or where to remove it. I've reviewed the help files and searched through this forum, and see references to the connection pool on the AS, but not JDev 10.1.3 itself.
    Any pointers are appreciated! In the mean time I'm continuing my search!

    Can you please clarify the following...
    1) Can we run MDB applications within JDeveloper 10.1.3 ? I noticed there is a jms.xml file in embedded OC4J.
    2) How can we test MDB applications within JDeveloper linked to a JMS Destination OC4J based ?

  • Since I updated my 4S iphone to the latest iOS7 version, I can no longer close any of my apps.  As a result, all my apps remain open on my phone.  Even powering down and restarting does not solve the problem.  Specifically, the icons don't wiggle anymore.

    Since I updated my 4S iphone to the latest iOS7 version, I can no longer close any of my apps.  As a result, all my apps remain open on my phone.  Even powering down and restarting does not solve the problem.  Specifically, when I double-click the start button, my open app icons display.  But when I hold my finger on an icon, the apps do not wiggle and display an "x" to close.  Any advice... thanks?!

    Double tap the Home button, then swop upwards on the App Preview (not the App Icon). Tap the Home button again when done to return to normal screen.

  • I have a problem when updated the new release of iphoto version(11 jun 2012). After that I cannot open any photo libraries and program is error.

    I have a problem when updated the new release of iphoto version(11 jun 2012). After that I cannot open any photo libraries and program is error. I must to force quit iphoto window. There are any fixed bug update.

    If you have no photos:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and start.
    Regards
    TD

  • After editing in lightroom, i transferred the photo to final cut pro. However the photo that shows in final cut pro is the unedited version and a bit blurry. Any ideas?

    after editing in lightroom, i transferred the photo to final cut pro. However the photo that shows in final cut pro is the unedited version and a bit blurry. Any ideas?

    IIs there an export function from Lightroom? Did you export? Does the exported file contain your edit?
    THe hard drive file size doesn't matter. What matters is the image size, it's dimensions in pixels.
    IN FCP press Cmd-J to see the project properties.

  • HT4972 im trying to update IOS version, have done everything as recommended.  however, it doesnt seem to be working, when i try to buy a tune i am again prompted to update to new IOS version... can you offer any advice

    im trying to update IOS version, have done everything as recommended.  however, it doesnt seem to be working, when i try to buy a tune i am again prompted to update to new IOS version... can anyone offer any advice

    Is this an iPhone or iPad question? You posted in the iPad forum.
    See
    iOS 5: Updating your device to iOS 5
    http://support.apple.com/kb/HT4972
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect to your computer & click on the "Update your device using iTunes".
    Tip - You may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. After you update to iOS 5.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • In Cs5, ACR I could select crop, right click and on custom, put in a size in millimetres or inches , the latest CC version seems to lack this. Any advice??

    In Cs5, ACR I could select crop, right click and on custom, put in a size in millimetres or inches , the latest CC version seems to lack this. Any advice??

    In Camera Raw? The Workflow options are now responsible for actual image size. See Julianne Kost's blog post. (There's a video that discusses this in detail at the beginning there as well.)

  • HT1338 I cannot install napster 5 on my Mac OS X VERSION 10.4.11 anybody have any ideas ?

    I cannot install napster 5 on my Mac OS X VERSION 10.4.11 anybody have any ideas ?

    Check what the Mac requirements are for Napster 5.  Often older Mac OSs are not supported.
    Ciao.

  • After downloading and trying to install the newest version of i tunes on my pc, I got an error message telling me: unable to locate component MSVCR80.dll. Now I can't use the version I had and obviously not the newest version. Any ideas about how to fix ?

    After downloading and trying to install the newest version of i tunes on my pc, I got an error message telling me: unable to locate component MSVCR80.dll. Now I can't use the version I had and obviously not the newest version. Any ideas about how to fix ?

    Solving MSVCR80 issue and Windows iTunes install issues.
    Thanks to user turingtest2 for this solution.
    Solving MSVCR80 issue and Windows iTunes install issues.
    If the above doesn’t do the trick entirely, then use the instructions in the following as it applies to the version of Windows you are using:
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    You may be required to boot into safe mode to complete the folder deletion process.

  • I can not install the firefox for android from the android market. It is showing me that the app is incompatible with my device. Mine is LG P500 with version Froto 2.2.2. Any help ?

    I can not install the firefox for android from the android market. It is showing me that the app is incompatible with my device and no other information is provided. I am not sure whats the problem with that ! Is it incompatible with the device or the android version ?
    Mine is LG P500 with version Froyo 2.2.2. Any help ?
    I was waiting to surf web with firefox from my phone for a long time. can anyone please let me know any known solution to it.

    The mobile version of Firefox for Android requires a processor that supports the ARMv7 architecture, the LG Optimus P500 does not meet that requirement, it supports the ARMv6 architecture.

  • Hello, I have updated to the newest Pages and yet when I open a document to use it says, "You need a newer version of Pages to open this document." When I got to install it again it says I have already done that. Anybody have any tricks? Thanks!

    Hello, I have updated to the newest version of Pages and yet when I open a document to use it says, "You need a newer version of Pages to open this document." When I got to install it again it says I have already done that. Anybody have any tricks? Thanks!

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5/5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5.1 sometimes can not open its own files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has not only managed to confuse all its users, but also itself.
    Note: Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • How do I change the language of my acrobat version?  Somehow, I downloaded a German version and only speak English with any fluency.

    How do I change the language of my acrobat version?  Somehow, I downloaded a German version and only speak English with any fluency.

    The default installation is to the language of your computer. The various languages are found when you select the alternatives in the installation (don't check continue, but read carefully as you go through the install screens -- the names of the alternative buttons are not clear to most users and are NOT labelled as the classic "custom" button).

  • My MacBook pro continues to be very slow after downloading Yosemite. It keeps referring to MacBook Pro (2). It's like there are two version running side by side. Any ideas?

    My MacBook pro continues to be very slow after downloading Yosemite. It keeps referring to MacBook Pro (2). It's like there are two version running side by side. Any ideas?
    It is now running Yosemite 10.10.1. I seem to have plenty of memory but the machine still runs slower than before installing Yosemite. Excel has a very noticeable lag when opening and loading files.

    Hi,
    Thanks for the reply. I ran through the various steps as suggested including resetting the SMC.
    I would say that there was about a 10% improvement. Although one of the icons still bounced for the count of 40
    I'm still wondering why from the About this Mac, then System Report. it refers to my name MacBook Pro (2).
    All the various problems seem to have started with the upgrade to Yosemite.

  • I cant seem to download the latest version of itunes to my laptop computer. I keep getting an error during the installation of assembley "Microsoft VC80.CRT.type="win 32".version="8.0.507276195"Please refer to Help and Support for more information. HRES7

    I cant seem to download the latset version of itunes onto my laptop computer. I keep getting this error HRESULT: 0x8007054F. Dont know what that means. Please HELP!!!!!!!!!!!!!!

    Hi tKalra - I got the same error and finally managed to install itunes successfully. Below is what happened with me.
    I have Windows7 64 bit. I downloaded itunes 10.6.3 for windows64bit and started the installation wizard by opening the downloaded file. At one stage I got the same error you have mentioned above. I started googling to find a solution and thats how I found your post. Anyway I went through lot of other posts that suggested lot of different things but I just wanted to try my own thing first.
    So what I did is to go through with the wizard by clicking ok on the error. I then got an error about apple mobile device service not running. I ignored and went ahead with the installation. Installation finished but the itunes wont start giving the service not running error. I tried to manually start the service but it gave a privilege error.
    I then went to control panel and uninstalled itunes, apple mobile device thing and bonjour..basically what ever was from apple. Then I also went to start -> run -> regedit and checked for any registry keys for apple under local user and local computer. Deleted if found. Restarted and then just right clicked on the itunes setup file that was downloaded and ran it as administrator. That did it for me. So I am guessing it was privilege thing but not sure. Hope this helps.

Maybe you are looking for

  • Why doesn't my iPhoto 9.1.5 load?

    I'm afraid I may have accidentally deleted a file for iPhoto, it will not load. I tried to buy iPhoto on the App Store but I got a message saying that it was already installed. My question is what are the possible names of files for iPhoto that may h

  • Lock and Unlock user for a period of time

    I need to lock a specific su01 user for a specific period of time each day.  Does anyone have any idea how to accomplish this task?

  • 5D Mark 3 Low Light Images = really slow!!!

    Hello, I've got a rather odd problem. When shooting in low light (think pitch black, lightning shots etc) the 5d mark iii takes forever to display the image on the preview screen. It takes up to a minute or more and I can see the red light (indicatin

  • What does the green led on the WAN port indicate?

    Does it indicate that there is a PHYSICAL connection or there is activity?  If you have a bad cable between the modem and the WAN, will the WAN led light up?  If the modem isn't operating correctly, will the WAN led light up? The reason I ask...I hav

  • Lightroom 5 and location of photos

    Hi everyone..... I plan on buying Lightroom 5.  I have never used Lightroom before. I have limited space on my primary C: drive. However, I have 3 other drives in my computer where I keep my photos. When I install Lightroom and attempt to organize th