COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: rrahmani on 03 Aug 2016 01:39:30 AM

Title: Automatic disable Data source connection
Post by: rrahmani on 03 Aug 2016 01:39:30 AM
Hi there,
Without using SDK, is anyone aware of automatically disabling a data source connection via a script/schedule/event studio...etc?
Essentially we want to switch reports to another data source connection while the default connection is being updated.
Regards
Ramin
Title: Re: Automatic disable Data source connection
Post by: Andrew Weiss on 28 Sep 2016 08:53:09 AM
Ramin,

MetaManager can do this in it's Script Runner module. You can write a script using JavaScript to disable a datasource connection and enable a different one. The script can be run interactively or from a command line process.

There's some information and some example scripts on Script Runner here:http://www.bspsoftware.com/products/metamanager/API/

You can also download MetaManager and give this a try.  Happy to help if you would like to see an example script to do this.

Thank you,
-Andy