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 » MQSI - ESQL -DBLOOK-UP -ERROR- INTERESTING

Post new topic  Reply to topic
 MQSI - ESQL -DBLOOK-UP -ERROR- INTERESTING « View previous topic :: View next topic » 
Author Message
asamanta
PostPosted: Wed Oct 29, 2003 10:43 pm    Post subject: MQSI - ESQL -DBLOOK-UP -ERROR- INTERESTING Reply with quote

Novice

Joined: 20 Aug 2003
Posts: 18

I want to do this dblook up inside a function.

SET XXXX= (SELECT T.ZUPDMAT,T.ZUPDMAU,T.ZUPDMIP FROM Database.ZCS_G7TDMS_CFG_SAP_UPDATE AS T WHERE
T.ZSTAT_TO = 4 AND
T.ZCURR_ST = 'pq' AND
T.ZMAT_TYPE = 'h2') ;

Function is getting all input values properly but createing problem when it trying to store values in XXXX.
Can you please tell me what would be this 'XXXX' value which will hold these three returned values???
Below error is getting through trace file.

BIP2536E:The dynamic field reference supplied to the SET statement does not resolve to a non-list field in a modifiable message tree. The dynamic field reference supplied to the SET statement must resolve to a non-list field in a modifiable message tree.Ensure that only non-list references to modifiable trees are passed to the SET statement.
Can i do this in other way out???
Back to top
View user's profile Send private message
Yanghui
PostPosted: Thu Oct 30, 2003 1:13 am    Post subject: Reply with quote

Disciple

Joined: 08 May 2002
Posts: 151
Location: Dublin, Ireland

Hi,

I think the return result from your SELECT statement must be a list. So, the method I chose was to use Environment tree. Let's say we have created an element called Environment.Variables.DBLookupResult. You can use this element to accept all the return value from database and then continue your processing...

Hope it helps.

Regards

-Yanghui
Back to top
View user's profile Send private message Send e-mail
asamanta
PostPosted: Thu Oct 30, 2003 1:43 am    Post subject: Reply with quote

Novice

Joined: 20 Aug 2003
Posts: 18

Hi Yanghui,

I wanted to execute this DBLook-up inside a function. Inside function , if i declare a Environment variable, it gives you wmqi parsing(after deployment -- go to LOG tab) error.

How i will do this inside a function Or how i can pass a reference of an Environment varialble to the function.

Thanks in advance

Thanks for your reply Yanghui.
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 » MQSI - ESQL -DBLOOK-UP -ERROR- INTERESTING
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.