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 » Accessing user defined properties from different locations

Post new topic  Reply to topic
 Accessing user defined properties from different locations « View previous topic :: View next topic » 
Author Message
abetaev
PostPosted: Wed Aug 22, 2012 3:03 am    Post subject: Accessing user defined properties from different locations Reply with quote

Novice

Joined: 10 May 2012
Posts: 12

Hello,

I have two subflows (Subflow1&Subflow2) in two different schemes (Schema1&Schema2).
Schema1 also contains declaration of UDP:
Code:
DECLARE MyProperty EXTERNAL CHARACTER '';

In order to make MyProperty from Schema1 accessible to Schema2 I do the following:
Code:
SET Environment.Variables.MyPropertyValue = MyProperty

That works if it was run directly from Subflow1. But if I check MyPropertyValue for existance:
Code:
IF FIELDTYPE(Environment.Variables.MyPropertyValue) IS NULL THEN
  -- routing instructions
END IF;

and invoke Subflow1 from Subflow2, the UDP contains default ('') value.

Is there a way to invoke one subflow from another so it will have access to user defined properties declared in its schema?


--
Thanks and regards,
Alexander
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 » Accessing user defined properties from different locations
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.