If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

launch several macroses in the same time

Started by EP_explorer, 16 Jun 2010 11:35:29 AM

Previous topic - Next topic

EP_explorer

I have several Contributor macroses which are launched by users. Macroses contains several steps such as Publish, Import, GTP etc. I found that if users lauch macroses in the same time they are going simultaneously.

Question - can I make such thing that macroses are stepped in a queue - It means first users lauched his macros - macros started. After some time another user lauched his macros and the second user's macros have to wait in queue until first user's macros stopped.

I think the only way is using Wait for any job step of macros. But I have to monitor many applications and publish_containers in this case? I.e. I have to put several steps of Wait for any jobs which monitor every object?

Is it true? Or may be I undestand Wait for any job incorrectly?
May be you know any other ways?

vipul.bahl@gmail.com

Hi,
Wait for job is one option.
Another option can be using batch files for executing macros. These batch files can also be automated by scheduling them.
The batch file is so written that as soon as the first macro ends an indicator is generated (in a specified folder).
So the second macro specified in a batch file can be run in 2 ways:
1. once second batch file sniffs the indicator, it executes the second macro on its own if scheduled. else
2. When user tries to execute the batch file, it will first sniff for the indicator, if indicator is not present, the second macro will not be executed.