Skip to main content
Solved

FME Commandline from GE Smallworld Magik

  • April 1, 2019
  • 2 replies
  • 65 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

zzupljanin
Contributor
Forum|alt.badge.img+4
  • Contributor
  • 120 replies
  • 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
  • 122 replies
  • April 5, 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.

Thanks @zzupljanin