I have a DTS Package with an ActiveX Script. I want the ActiveX Script to print to the file I re-direct the package execution to. Is there an easy way to do this?
I have tried this:
If cmdNew.Parameters("@RUNNING") = True Then
Print "The " & DTSGlobalVariables("gvsInterfaceName").Value & " is currently running. Failing package!"
Main = DTSTaskExecResult_Failure
ElseIf cmdNew.Parameters("@RUNNING") = False Then
Print "The " & DTSGlobalVariables("gvsInterfaceName").Value & " is currently not running. Continuing package!"
Main = DTSTaskExecResult_Success
Else
msgbox "The interface " & DTSGlobalVariables("gvsInterfaceName").Value & " is not a valid interface!"
Main = DTSTaskExecResult_Failure
End If
And the Print statements do not work.
Thanks!