I have a macro that I would like to run in Scheduler. I am using the CognosScript Editor to create the macro. But cannot get it to run. Any idea why it will not run?
It compiles with no errors.
Even when I execute the macro in the CognosScript Editor, nothing happens. Any ideas?
Thanks in advance?
Macro:
It compiles with no errors.
Even when I execute the macro in the CognosScript Editor, nothing happens. Any ideas?
Thanks in advance?
Macro:
Code:
Sub Main()
dim i as integer
dim tmp1 as string
dim tmp2 as string
tmp1 = "c:\Program Files\cognos\cer3\bin\trnsfrmr.exe"
tmp2 = "D:\data\Task\Cognos Dev\SCHEDULER\Bill Pay Date.pyi"
i = Shell ( tmp1+" -n -s "+tmp2 )
End Sub