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 » Cannot assign a list to a non-list

Post new topic  Reply to topic
 Cannot assign a list to a non-list « View previous topic :: View next topic » 
Author Message
gobi_nathan
PostPosted: Wed Feb 05, 2003 5:48 am    Post subject: Cannot assign a list to a non-list Reply with quote

Acolyte

Joined: 08 Jan 2003
Posts: 69

Hi ,

I am using the XML Message Set.
Input data for my compute node is the Databasae table and the output message set is XML.

ESQL from my compute node is below:

SET "OutputRoot"."XML"."NAME" = (SELECT ITEM T.IDENTIFIER Database.MRM_USER AS T WHERE T.USER_KEY = 1 );


My select statement will return only a single row data.Still i am getting the
following error.


BIP2524E: (12, 1) : Cannot assign a list to a non-list, nor a non-list to a list.

A list of values cannot be assigned to a scalar variable or single message field, nor can a scalar value be assigned to a list.
Correct the syntax of the expression and redeploy the message flow.


Can anyne tell me how to dealt this problem.

-Gobi
Back to top
View user's profile Send private message
jasonlove
PostPosted: Wed Feb 05, 2003 7:30 am    Post subject: Reply with quote

Newbie

Joined: 16 Jan 2003
Posts: 3

If you are sure it only returns one row, the THE keyword should work for you.

SET "OutputRoot"."XML"."NAME" = THE (SELECT ITEM T.IDENTIFIER Database.MRM_USER AS T WHERE T.USER_KEY = 1 );

--Jason
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 » Cannot assign a list to a non-list
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.