Too_Tall_Crown_Victoria
09-02-2010, 11:40 AM
We have a need to create a global counter for how many times a task runs. We have approximately 10 build scripts that can each run around the same time. My first iteration was to create a global subroutine that will increment a global macro. However, I discovered that the global macros are not being updated as each script runs. It seems that the global macro states are read when the script starts and remains with the script. So if one script updates a macro, that update is not seen by the other scripts running.
Is there a way to make this happen so that these macros are up to date so I can use these global macros as counters for all scripts running? If this will not work, do you have another suggestion as to how to make this work and avoid collisions?
Thanks
Is there a way to make this happen so that these macros are up to date so I can use these global macros as counters for all scripts running? If this will not work, do you have another suggestion as to how to make this work and avoid collisions?
Thanks