Hello,
I am new to the forum, as we are currently implementing Cognos. I hope someone can help me... we have several Cognos macros that we want to schedule with our scheduling tool, which is Autosys. The macros update Access Manager, build cubes, etc.
Our existing Autosys jobs run a command and evaluate the success or failure of the job based on the return value passed back by the command. For example, we might use Autosys to run a kshell script on Unix, and if it is successful it returns a 0, if it fails it returns an error code > 1.
Is there a way for a Cognos macro to return an exit code? We have tried VBS wscript.quit but it does not work. I haven't seen anything in the documentation and Cognos support has not yet provided a solution.
Thanks for your help!
Stacy
I am new to the forum, as we are currently implementing Cognos. I hope someone can help me... we have several Cognos macros that we want to schedule with our scheduling tool, which is Autosys. The macros update Access Manager, build cubes, etc.
Our existing Autosys jobs run a command and evaluate the success or failure of the job based on the return value passed back by the command. For example, we might use Autosys to run a kshell script on Unix, and if it is successful it returns a 0, if it fails it returns an error code > 1.
Is there a way for a Cognos macro to return an exit code? We have tried VBS wscript.quit but it does not work. I haven't seen anything in the documentation and Cognos support has not yet provided a solution.
Thanks for your help!
Stacy