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 » [IBM][CLI Driver] CLI0002W Data truncated. SQLSTATE=01004

Post new topic  Reply to topic
 [IBM][CLI Driver] CLI0002W Data truncated. SQLSTATE=01004 « View previous topic :: View next topic » 
Author Message
Vanshul_MB
PostPosted: Fri Jun 17, 2011 11:16 pm    Post subject: [IBM][CLI Driver] CLI0002W Data truncated. SQLSTATE=01004 Reply with quote

Acolyte

Joined: 09 Feb 2011
Posts: 68

We are getting an error



Child SQL exception, 01004, -99999, [IBM][CLI Driver] CLI0002W Data truncated. SQLSTATE=01004



while populating the Environment with resultset of a query.So our SET statement is



SET Environment.Variables.ConfigData.HotelPointOfInterests[ ] = PASSTHRU(CH_HotelPointOfInterests, Database.{dataSourceName});



This error says

CLI0002W
Data truncated.

Explanation
An output buffer specified is not large enough to contain the data.

User response
Increase the size of the output buffer.


Please let us know that are there some restrictions on the amount of data that can be stored in Environment or is it dependent on system configuration.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jun 18, 2011 9:27 am    Post subject: Reply with quote

Grand High Poobah

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

It would be easier to help if you stated the case scenario...

How many rows are you trying to put into the environment, 1? 1,000? 1,000,000?
What is the size of a row, 1KB, 1MB, 100MB?

And finally what is the scope of the data: flow lifetime, instance lifetime?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vanshul_MB
PostPosted: Sat Jun 18, 2011 8:18 pm    Post subject: Reply with quote

Acolyte

Joined: 09 Feb 2011
Posts: 68

Hello,

Thanks for response.

The rows can be more than 100000 also as we are taking properties from tables and can extend upto several lines.
Its getting set in environment so its per flow lifetime.

Its working perfect on my local broker but on the linix broker setup by admin guys, it bombs.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sat Jun 18, 2011 10:01 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Vanshul_MB wrote:


Its working perfect on my local broker but on the linix broker setup by admin guys, it bombs.


Are you using the same physical DB server on both systems?

If so then I'd look at the kernel config for the Linux system. Did your local linux admin follow the WMQ Install manual and increase certain kernel params? These might not be enough for the sort of data you are retrieving.
Look at the sort of ipcs related settings that you'd need to run an Oracle Server on the box. That is what I use as the basis for my Linux based Broker installs.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » [IBM][CLI Driver] CLI0002W Data truncated. SQLSTATE=01004
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.