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 IndexWebSphere Message Broker Supportshared row can't we use in flow level

Post new topicReply to topic
shared row can't we use in flow level View previous topic :: View next topic
Author Message
djosyula
PostPosted: Fri Jul 07, 2017 7:41 am Post subject: shared row can't we use in flow level Reply with quote

Newbie

Joined: 30 Mar 2017
Posts: 9

Dear experts,

I have 2 flows in one integration project

flow 1: mqinput1->compute1->mqoutput1

compute node1 :
DECLARE shrdrw SHARED ROW;
set shrdrw =inputroot.xmlnsc.input.emp;

flow 2:mqinput2->compute2->mqoutput
compute2:
set outputroot.xmlnsc.out.value=shrdrw;
In second flow I'm getting null value for "shrdrw"

shared row can't we use in flow level




Thank you
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 07, 2017 8:55 am Post subject: Re: shared row can't we use in flow level Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19400
Location: LI,NY

djosyula wrote:
Dear experts,

I have 2 flows in one integration project

flow 1: mqinput1->compute1->mqoutput1

compute node1 :
DECLARE shrdrw SHARED ROW;
set shrdrw =inputroot.xmlnsc.input.emp;

flow 2:mqinput2->compute2->mqoutput
compute2:
set outputroot.xmlnsc.out.value=shrdrw;
In second flow I'm getting null value for "shrdrw"

shared row can't we use in flow level




Thank you

If you want to use the shared row at a flow level scope, you need to define it at a flow level (usually this is a schema level) scope.
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
adubya
PostPosted: Mon Jul 10, 2017 7:03 am Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 368
Location: GU12, UK

SHARED variables are not shared across different flows, they're only shared amongst instances of the same flow.
_________________
Independent Middleware Consultant
andy@knownentity.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker Supportshared row can't we use in flow level
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.