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 » SELECT Problem

Post new topic  Reply to topic
 SELECT Problem « View previous topic :: View next topic » 
Author Message
paldebojyoti
PostPosted: Wed Oct 27, 2004 10:53 pm    Post subject: SELECT Problem Reply with quote

Novice

Joined: 04 Aug 2004
Posts: 10

Hi,
I am facing a problem in SELECT statement in ESQL in WMQI 2.1. My query is
SET DEP_GMT_OFFSET = THE (SELECT T.gmt_min_offset
FROM Database.GMT_OFFSET AS T
WHERE T.tm_zn_cd = 'A' );

But it gives me the errors:
UserTrace BIP2544I: Node 'IDEAS_MSG_FLOW.XMLGENERATOR': Executing database SQL statement 'SELECT T.gmt_min_offset FROM GMT_OFFSET T WHERE (T.tm_zn_cd)=('A')' derived from (1, 1); expressions ''; resulting parameter values ''.

UserTrace BIP2231E: Error detected whilst processing a message 'IDEAS_MSG_FLOW.XMLGENERATOR'. The message broker detected an error whilst processing a message in node 'IDEAS_MSG_FLOW.XMLGENERATOR'. The message has been augmented with an exception list and has been propagated to the node's failure terminal for further processing.

See the following messages for details of the error.

RecoverableException BIP2556E: An attempt has been made to assign a scalar, row or list quantity to a target of a different basic type. Scalar values may only be assigned to scalars, rows may only be assigned to rows and lists may only be assigned to lists.
Back to top
View user's profile Send private message
RichA
PostPosted: Thu Oct 28, 2004 2:26 am    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2002
Posts: 102

try -

SET DEP_GMT_OFFSET = THE (SELECT ITEM T.gmt_min_offset
FROM Database.GMT_OFFSET AS T
WHERE T.tm_zn_cd = 'A' );
Back to top
View user's profile Send private message MSN Messenger
paldebojyoti
PostPosted: Fri Oct 29, 2004 1:43 am    Post subject: Reply with quote

Novice

Joined: 04 Aug 2004
Posts: 10

Thanks Richa. It's working.

Regards,
Debojyoti
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 » SELECT Problem
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.