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

Disabling / Enabling a Package from Event Studio

Started by StevenLunn, 19 Feb 2014 05:01:15 AM

Previous topic - Next topic

StevenLunn

Hi,

Is it possible to do as the subject above? We would like to temporarily disable a package until a condition is met, then enable the package. The idea being to prevent user's from running reports against a package until some jobs have completed. Checking the job completion is fine but not sure whether Event Studio can enable a package. I don't  see any option for it so presume not, but maybe there is another way?

Thanks.

MFGF

The only ways I can think of are to:
1.Figure out what gets changed in the content store when a package is disabled/enabled via the Cognos Connection UI, then code a stored procedure to make the same change(s) and call this from your agent.
2. Write some code via the SDK to enable/disable your package and call this via a web service from your agent.

There are obviously some challenges in figuring out what to update and also in coding the SP, and/or writing the code. I've never done it so not even sure it's feasible in practice.

Good luck!

MF.
Meep!

StevenLunn

Thanks for replying MF. Gives me some things to think about.