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

is it possibel to set 2 CM.OUTPUTSCRIPT post processing

Started by EArumugam, 08 Mar 2012 05:21:50 AM

Previous topic - Next topic

EArumugam

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


navissar

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.

sir_jeroen

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.