COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: ciber on 07 Apr 2013 01:23:08 PM

Title: Call CMD (Dos) or .sh (Unix) command
Post by: ciber on 07 Apr 2013 01:23:08 PM
Hi All,

Is there a way I can call or activate an OS command (dos-> cmd / unix -> *.sh) from a Report Studio where I want to use the Prompt Page as input for the command line?

I want to use a Report Studio report with a Prompt Page .
The values from this prompt page are the input values for the OS command.
After the OS 'program' is finished (it's creating a file), I want to use the OS 'program' output as the input for my Report Studio.

Thanks for your help.


ciber
Title: Re: Call CMD (Dos) or .sh (Unix) command
Post by: RKMI on 08 Apr 2013 01:58:19 PM
Hi,

Have you tried trigger.bat utility, please see this topic might shed some light. So some info about this you create an event studio report to set to run when this trigger.bat utility calls the function.
http://www-01.ibm.com/support/docview.wss?uid=swg21340069

If not I think you can try to find out if it's something SDK provide.

Thanks,
RK