COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: jedi2005 on 29 Jan 2007 07:20:29 AM

Title: Automatically publishing a package
Post by: jedi2005 on 29 Jan 2007 07:20:29 AM
Hi all,

please help me with this problem:

How can i automatically publish a package in frameworkmanager eg. publishing the package every day at 4:00am without creating it manually.
It is possible by starting a Windows-Script? And if yes, how?
(I have to this because i want to externalize data of a SAP BW Cube into .csv-files)

Thanks for your answers
Title: Re: Automatically publishing a package
Post by: prikala on 02 Feb 2007 02:08:16 AM
I think BmtScriptPlayer.exe might be the right tool for this (FM user guide contains title "Running Scripts That Publish Packages May Result in Broken Reports" in troubleshooting section).

Unfortunately publishing package is not recorded in FM Transaction Log so you must write the "action log" yourself and syntax for log files is not documented in FM documentation (maybe in sdk?).


Title: Re: Automatically publishing a package
Post by: cognosjon on 06 Feb 2007 08:54:32 AM
Just a general query regarding this, why do you need to republish every day, do you add new categories everyday?
We have externalised queries that are used for transformer and they have probably only been republished twice in the last four months.

Title: Re: Automatically publishing a package
Post by: jedi2005 on 16 Feb 2007 07:34:33 AM
Thank you for your help, prikala.
You're right with bmtscriptplayer.
You can log the publishing by changing the value of the loglevel of publishing to "2" in the file CR1behaviors.xml.
With this script it's possible to start publishing with a .bat-File using bmtscriptplayer.