|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
fileInput or fileRead To shared variable row or list? |
« View previous topic :: View next topic » |
Author |
Message
|
fpg8 |
Posted: Mon Mar 26, 2012 10:01 pm Post subject: fileInput or fileRead To shared variable row or list? |
|
|
Novice
Joined: 26 Mar 2012 Posts: 15
|
Question, should I store the information of a file to a shared variable from multiple instances of flows?
I can use the node FILEREAD to read all records in the file and then dump them to a shared variable row.
I need to persist information to be used in various sections of the flows.
Thank you very much.
Fpg.
|
|
Back to top |
|
 |
Esa |
Posted: Mon Mar 26, 2012 10:38 pm Post subject: Re: fileInput or fileRead To shared variable row or list? |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
It seems you have invented a new way of SHOUTING
But shouting is considered impolite here.
Answer: yes, you can, but you don't need to. There are other alternatives, too, as someone more eager may point out. If you decide to use shared varables, keep in mind that they are semi-persistent. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 27, 2012 1:56 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Why do you want to put this information in a file in the first place?
Use user defined properties.
Remember that shared variables have a very specific *scope*, so that each flow has it's own copy. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|