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 » DateTimestamp error

Post new topic  Reply to topic
 DateTimestamp error « View previous topic :: View next topic » 
Author Message
sraman
PostPosted: Wed Jan 19, 2005 10:26 pm    Post subject: DateTimestamp error Reply with quote

Newbie

Joined: 19 Jan 2005
Posts: 1

We are using MQSIv2.1 with Oracle 8.1.7. Am getting error with the to_date function with PASSTHRU . Is there any compatibility issues ?

[MERANT][OD
BC Oracle 8 driver]String data, right truncated. Error in parameter 2.
____________________________________________________________

INSERT INTO APL_CUSTPROF.CUSTOMER (ID_NUMBER_SEQ,CREATE_DATE,CREATE_USER_ID,STATUS_CD,VER
IFICATION_CD,NAME, PHYSICAL_ADDR_LINE_1_TXT,PHYSICAL_ADDR_LINE_2_TXT,PHYSICAL_AD
DR_LINE_3_TXT,PHYSICAL_ADDR_CITY_NUMBER,PHYSICAL_ADDR_POSTAL_CD,MAILING_ADDR_LIN
E_1_TXT,MAILING_ADDR_LINE_2_TXT,MAILING_ADDR_LINE_3_TXT,MAILING_ADDR_CITY_NUMBER
, MAILING_ADDR_POSTAL_CD, INTNL_CALLING_CD,PHONE_AREA_CITY_CD,PHONE_NUMBER, PHYS
ICAL_ADDR_SEARCH_TXT,MAILING_ADDR_SEARCH_TXT,FAX_INTNL_CALLING_CD,FAX_AREA_CITY_
CD,FAX_NBR,SEGMENT_CD,SERVICE_LEVEL_CD,ORGANIZATION_NAME,ORGANIZATION_PROFILE_NB
R,PARENT_GROUP_NAME,PARENT_GROUP_NBR,CUSTOMER_GROUP_NBR,CUSTOMER_GROUP_NAME,GLOB
AL_ACCOUNT_CD)values (?,TO_DATE(?,'YYYYMMDDHH24MISS'),?,?,?,?,?,?,?,?,?,?,?,?,?,
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ) '661784', '20050119210207', 'CP_USER',
'A', 'N', 'JOHN'S SWEET SHOP', '', '', '', '5747', '94538', '', '', ''
, '5747', '94538', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '
', '3', 'JOHN'S SWEET SHOP', '480142', NULL, NULL, NULL, NULL, NULL, 2
321 Root SQL exception -1 2322 Child SQL exception 22001 0 [MERANT][OD
BC Oracle 8 driver]String data, right truncated. Error in parameter 2. '
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 20, 2005 4:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Try your statement in Oracle directly, rather than through broker.

Once you know your statement works fine, then see if PASSTHROUGH causes problems.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » DateTimestamp error
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.