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 » Error on DB LOOKUP inside a function

Post new topic  Reply to topic
 Error on DB LOOKUP inside a function « View previous topic :: View next topic » 
Author Message
asamanta
PostPosted: Wed Oct 29, 2003 8:59 pm    Post subject: Error on DB LOOKUP inside a function Reply with quote

Novice

Joined: 20 Aug 2003
Posts: 18

I am trying to excute it inside a function. My requirement is that to hold these db look up values in a Environment variable called rDBLookup, which is a reference, sending by REf to the function.
SET rDBLookup.DATA[] = (SELECT T.ZUPDMAT,T.ZUPDMAU,T.ZUPDMIP FROM Database.ZCS_G7TDMS_CFG_SAP_UPDATE AS T WHERE
T.ZSTAT_TO = rInMfcRefTarget.statusind AND
T.ZCURR_ST = rInMfcRefTarget.statusonsap AND
T.ZMAT_TYPE = rInMfcRefTarget.sapmattypform) ;

Function is getting all input values properly but createing problem when it trying to store values in rDBLookup.DATA[] .
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Error on DB LOOKUP inside a function
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.