You can run an external program using the CMDExec Command.
It takes two string parameters.

The first is the full path to the external program to run.
And the second holds the command line Parameters for that external program.


Example 1: Use CMDEXEC to run an external IMP Script

CMDEXEC 'c:\irdb\irdbimport' 'c:\irdb\data\externalscript.imp'


Example 2: Use CMDEXEC to run a CMD shell that executes a Python program

CMDEXEC 'CMD.exe'  '/C C:\python\' 


Note: The /C parameter makes sure that the proces (in this case a python script) is carried out and then terminated (without the /C - the ETL script will keep running forever).

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.