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 » Trouble setting up a REFERENCE to an output structure.

Post new topic  Reply to topic
 Trouble setting up a REFERENCE to an output structure. « View previous topic :: View next topic » 
Author Message
tbt102
PostPosted: Mon May 12, 2003 9:08 am    Post subject: Trouble setting up a REFERENCE to an output structure. Reply with quote

Apprentice

Joined: 21 Apr 2003
Posts: 28

Hi all,

I'm having trouble setting up a REFERENCE to an output structure. See code below.

Would some point me in the right direction? Thanks in advance for any help.


Here is what I have tried so far:
DECLARE refOutput REFERENCE TO "OutputRoot"."MRM"."OUTPUT_FORECAST_RECORD"[intNextMesgOut];
DECLARE refOutput REFERENCE TO "OutputRoot"."MRM"."OUTPUT_FORECAST_RECORD"[];
DECLARE refOutput REFERENCE TO OutputRoot.MRM.OUTPUT_FORECAST_RECORD[intNextMesgOut];
DECLARE refOutput REFERENCE TO OutputRoot.MRM.OUTPUT_FORECAST_RECORD[];

All return the following message to the trace log:
BIP2543E: Node 'path.Compute1': (27, 39) : Failed to navigate to path element because it does not exist.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon May 12, 2003 10:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Please make sure the element exist before you reference to it. In your sample code, I don't see any ESQL statement which creates these elements. Here is an example,

Code:

SET "OutputRoot"."MRM"."OUTPUT_FORECAST_RECORD"[1].somefiled = ....;
SET intNextMesgOut = 1;
DECLARE refOutput REFERENCE TO "OutputRoot"."MRM"."OUTPUT_FORECAST_RECORD"[intNextMesgOut];
...

_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
tbt102
PostPosted: Tue May 13, 2003 3:52 am    Post subject: Reply with quote

Apprentice

Joined: 21 Apr 2003
Posts: 28

Creating the elements worked Kiran. Thanks.
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 » Trouble setting up a REFERENCE to an output structure.
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.