‎07-06-2019 04:41 PM
We have written a long running processs to perform some ETL operations in java. We exectue it from the script editor like so:
Set oPlugin = GetRoot().CurrentEnvironment.GetMacro("~vd)fFYg6RDf6[ESRX MegaEcoMapPlugin]")
oPlugin.datamartETL(GetRoot())
print 'Done'
Is there a way to call the vb print function to get an idea of what the script is doing from Java?
‎07-06-2019 04:50 PM
Hello,
What is the macro "MegaEcoMapPlugin" doing ?
If you use the "print" in the script editor you won't be able to track what is happening in the pluging.
The better way would be to build an external call of the macro in which you can expose in a more advance console what is happening.
Another option would be to add in the MegaEcoMapPlugin some treatment to write in a log file of what is happening.