Hi,
We have a requirement to save the scheduled report to the file system.
For ex:
we have 10 reports to schedule. 5 reports we need to save it in Folder 1 and another five reports in Folder 2.
and after sucessful schedule run, we need to do a post procesing scripts to rename the file thru a batch file.
Report saved in multiple location sucessfully. but the post processing scripts was not triggered if i set two CM.OutputScript in Advanced Settings as
CM.OutputScript D:\Folder1\Run.bat
CM.OutputScript D:\Folder2\Run.bat
please tell is it possible to set two post processing scripts as above.
if not, pls tell how to achieve this.
thanks in advance
-eas
While I do not know of a way to run two different scripts, you can run one script written in a manner that will identify the file saved, and then run the proper script for it.
I would advise you to setup the Archive File location in Cognos Configuration -> Global Settings.
This options enables the option to save files directly to the file system in the "Run with options"-option. So it's no longer necessary to work with CM.Outputlocation parameters.