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 » SHARED VARIABLE not recognized

Post new topic  Reply to topic
 SHARED VARIABLE not recognized « View previous topic :: View next topic » 
Author Message
sandman147
PostPosted: Wed Mar 26, 2014 9:11 am    Post subject: SHARED VARIABLE not recognized Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

The Message Flow creates a File when run to completion - Happy Path

The Incoming Data is routed to an Error Handler subflow- Failure Path

In Compute Node of Main Flow a SHARED VARIABLE is Initialized
DECLARE fieldVal SHARED INTEGER 1;

However the Compute node in the Error Handler Flow is unable to identify 'fieldVal'
Back to top
View user's profile Send private message
Esa
PostPosted: Thu Mar 27, 2014 12:11 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

If you declare a shared variable within the compute module, it will be private to the module. You should declare it in the broker schema scope to make it visible to several modules.
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 » SHARED VARIABLE not recognized
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.