I cannot seem to close the Impromptu User application when running it from Scheduler. It works with the Impromptu Administrator version, but not the User version. This is v6.
I have a macro that I run from the Command Script field on Scheduler's "Results" tab. It's called CLOSEIMP.MAC. The contents are:
Sub Main()
Dim objImpApp As object
Set objImpApp = GetObject("CognosImpromptu.Application")
objImpApp.Quit
Set objImpApp = Nothing
End Sub
When a user with the Administrator version schedules a report and uses this macro, Impromptu starts, runs the report, and closes at the end. When a user with Impromptu User does this, the Impromptu app does not close on completion of the report. Jobmgr32.exe continues running at 100% CPU utilization.
Is there any difference in the way the macro is used between Admin and User of Impromptu? Can anyone recommend a change that would work with both Admin and User?
Thanks
I have a macro that I run from the Command Script field on Scheduler's "Results" tab. It's called CLOSEIMP.MAC. The contents are:
Sub Main()
Dim objImpApp As object
Set objImpApp = GetObject("CognosImpromptu.Application")
objImpApp.Quit
Set objImpApp = Nothing
End Sub
When a user with the Administrator version schedules a report and uses this macro, Impromptu starts, runs the report, and closes at the end. When a user with Impromptu User does this, the Impromptu app does not close on completion of the report. Jobmgr32.exe continues running at 100% CPU utilization.
Is there any difference in the way the macro is used between Admin and User of Impromptu? Can anyone recommend a change that would work with both Admin and User?
Thanks