Hello,
How do we call a System command from Reformat ? I want to move a file to a different directory once it is processed. I am procesing multiple files in a directory.
As always thanks very much for your good support.
- Mano
Hello,
How do we call a System command from Reformat ? I want to move a file to a different directory once it is processed. I am procesing multiple files in a directory.
As always thanks very much for your good support.
- Mano
Hello Mano,
the only way to call system command from Reformat is to use java.lang.Process object. It can be done, only if you write your transform in java. But if you have your transformation in java, you would rather move to file with java api (File.renameTo(File)) in finished method.
If you have your transformation in ctl, you can move the file in the next phase using JavaExecute or SystemExecte component.