Skip to main content
Solved

FME Commandline from GE Smallworld Magik


srg
Forum|alt.badge.img+10

Hello FME-rs,

I am wondering if it is possible to run FME as in Commandline with the source and destination dataset and other parameters from within GE Smallworld Magik?

Tx

SRG

Best answer by zzupljanin

Hello,

 

yes, it is. We've been using it quite often. Just make sure that you create method or procedure in Magik in which you'll put command line code (you can see command line code of your FME workbench when you run any workbench - in the beginning of logfile). In the end of method just put system.do_command(<command>) and that's it.

 

PS. Use space instead of enter sign while running command.

Cheers,

Zelimir.

View original
Did this help you find an answer to your question?

2 replies

zzupljanin
Contributor
Forum|alt.badge.img+4
  • Contributor
  • Best Answer
  • April 1, 2019

Hello,

 

yes, it is. We've been using it quite often. Just make sure that you create method or procedure in Magik in which you'll put command line code (you can see command line code of your FME workbench when you run any workbench - in the beginning of logfile). In the end of method just put system.do_command(<command>) and that's it.

 

PS. Use space instead of enter sign while running command.

Cheers,

Zelimir.


srg
Forum|alt.badge.img+10
  • Author
  • April 5, 2019
zzupljanin wrote:

Hello,

 

yes, it is. We've been using it quite often. Just make sure that you create method or procedure in Magik in which you'll put command line code (you can see command line code of your FME workbench when you run any workbench - in the beginning of logfile). In the end of method just put system.do_command(<command>) and that's it.

 

PS. Use space instead of enter sign while running command.

Cheers,

Zelimir.

Thanks @zzupljanin


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings