ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Insert into Oracle failure for migrating from 5 to 6

Post new topic  Reply to topic
 Insert into Oracle failure for migrating from 5 to 6 « View previous topic :: View next topic » 
Author Message
dkeister
PostPosted: Wed Aug 01, 2007 11:33 am    Post subject: Insert into Oracle failure for migrating from 5 to 6 Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

A message flow in WMB 5 successfully inserts records into an Oracle 9i database. One of the insert fields in the database is 4000 characters. After migrating to WMB 6 the message flow fails with the following error:

SQL error is HY104 - [DataDirect][ODBC Oracle driver]Invalid precision value. Error in parameter 21.

If the message flow is changed to truncate parameter 21 to 1999 characters, the insert is successful, 2000 characters or more gets the SQL error.

Any thoughts?
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Wed Aug 01, 2007 11:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The minimum supported level of Oracle 9i for v6 is Release 2 Patch Set 4.

And that's not supported on all broker platforms for v6, either.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ah10030_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
dkeister
PostPosted: Wed Aug 01, 2007 2:19 pm    Post subject: Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

Yup, we are there and beyond.
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Wed Aug 01, 2007 2:21 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

....

Are you at FP3 of Broker runtime?

Are you using ESQL Insert, or PASSTHRU, or calling a stored procedure?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 01, 2007 2:58 pm    Post subject: Re: Insert into Oracle failure for migrating from 5 to 6 Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

dkeister wrote:
A message flow in WMB 5 successfully inserts records into an Oracle 9i database. One of the insert fields in the database is 4000 characters. After migrating to WMB 6 the message flow fails with the following error:

SQL error is HY104 - [DataDirect][ODBC Oracle driver]Invalid precision value. Error in parameter 21.

If the message flow is changed to truncate parameter 21 to 1999 characters, the insert is successful, 2000 characters or more gets the SQL error.

Any thoughts?
Looks suspiciously like a CCSID problem to me.
Remember UTF-16 1999 char is just under the limit with 2 bytes per char if Oracle reserves just 1 and thinks it gets ccsid 819...

Can you be sure in which way the field data is stored? UTF-16 (broker default) or UTF-8? or 819?




_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
dkeister
PostPosted: Thu Aug 02, 2007 5:12 am    Post subject: Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

Thanks for the suggestion. I will have to check this out. I've not paid much attention to CCSID in the past so have some learning to do. I'm in the middle of getting a release out so it will probably be the weekend before I get a chance to follow up.

I'll post the results.
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Insert into Oracle failure for migrating from 5 to 6
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.