I would like to be able to run a cognos report from the command line for use with our current scheduler. Management wants to use the current scheduler rather than adding the Cognos scheduler into the mix.
The command line that I am using is as follows:
"C:\Program Files\Cognos\cer3\bin\ImpUser.exe" "\\Apps1\Cognos\Reports\TestCommand.imr"
My problem and question is that the report starts but the Catalog Logon for MyTables.cat pops up on the screen. Is there any way, or what is the best way, to either pass the user/password on the command line or have the report get started without the need to enter the user/password?
I want the reports to be able to run without manually entering into the logon. Any help would be appreciated.
Can a report macro be used to run when the report starts to supply the user/password info? If so I would appreciate some further info on how the macro would be written.
Thanks
The command line that I am using is as follows:
"C:\Program Files\Cognos\cer3\bin\ImpUser.exe" "\\Apps1\Cognos\Reports\TestCommand.imr"
My problem and question is that the report starts but the Catalog Logon for MyTables.cat pops up on the screen. Is there any way, or what is the best way, to either pass the user/password on the command line or have the report get started without the need to enter the user/password?
I want the reports to be able to run without manually entering into the logon. Any help would be appreciated.
Can a report macro be used to run when the report starts to supply the user/password info? If so I would appreciate some further info on how the macro would be written.
Thanks