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 » String data, right truncated. Error in parameter 7.

Post new topic  Reply to topic
 String data, right truncated. Error in parameter 7. « View previous topic :: View next topic » 
Author Message
ruimadaleno
PostPosted: Mon Sep 01, 2014 5:36 am    Post subject: String data, right truncated. Error in parameter 7. Reply with quote

Master

Joined: 08 May 2014
Posts: 274

Hi all,

we're getting the errors bellow in event viewer. CaptureStore1 uses a system datasource to insert monitoring (record and replay) info in database. Target Database is available and no errors found in database log.

"..String data, right truncated. Error in parameter 7.''. ..."

As far as i understand the root cause in a query sent to database which tries to insert a value with length above the max defined in table definition.

It might be some monitoring information whose size is above the defined in table ... but .. what information is in parameter 7 ? what is parameter 7 ? how can i get the SQL statement that is generating this error ?

my environment:

WBM 8.0.0.3
Windows Server 2008 R2 Standard

Errors in event viewer:
-------------
( BRKDVESB01A.default ) A database error occurred when processing a message for the data capture store ''CaptureStore1''.

Check that the database is correctly defined and available, and that the ODBC definition is correct. Review any other messages written to the system log and check the database logs to determine the cause of the failure. If the problem persists, contact your IBM support center.
------------

( BRKDVESB01A.default ) Database error: ODBC return code '-1' using ODBC driver manager ''odbc32.dll''.

The message broker encountered an error when processing a database operation. The ODBC return code was '-1'. See the following messages for information obtained from the database concerning this error.

Use the following messages to determine the cause of the error. Typical problems are an incorrect datasource or table names. Correct either the database or message broker configuration.

-------------
( BRKDVESB01A.default ) Database error: SQL State ''22001''; Native Error Code '0'; Error Text ''[IBM][ODBC Oracle Wire Protocol driver]String data, right truncated. Error in parameter 7.''.

The error has the following diagnostic information: SQL State ''22001'' SQL Native Error Code '0' SQL Error Text ''[IBM][ODBC Oracle Wire Protocol driver]String data, right truncated. Error in parameter 7.''

This message may be accompanied by other messages describing the effect on the message broker itself. Use the reason identified in this message with the accompanying messages to determine the cause of the error. Use the mqsicvp command to test connectivity to this database.
----------------
_________________
Best regards

Rui Madaleno
Back to top
View user's profile Send private message
ruimadaleno
PostPosted: Fri Jan 09, 2015 4:32 am    Post subject: Reply with quote

Master

Joined: 08 May 2014
Posts: 274

Problem solved

Cause: message flow running in broker, recording monitoring info to database tables via "record and replay" (it uses a datacapture store)

each message flow node has a label assigned to it. The label is typed by programmers. Monitoring adds additional info (subflow name) and records this to database tables. This info can grow up to sizes bigger than 100 characters wich is the database column size, generating the error observed in event viewer

Column name: EVENT_SRCADDR (7th column of the database - as pointed in errors)

Solution:
increase column size to 255 (recommendation from IBM through PMR)
_________________
Best regards

Rui Madaleno
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 » String data, right truncated. Error in parameter 7.
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.