Skip to main content

Hi FME Enthusiasts,

I am trying to run a fmw file by running a batch file. I tried to read smallworld data then convert into some other format. I create a batch file to execute but reader does not read the data. So I passed single record as input and ran the bat file it could able to read and converted into my destination format. but if i passed 100 records it was taking long time and waiting at “Getting feature using command number: (0)” it not moving further. 

If I manually run the same data with same fme workbench straight , which is working fine without any struggle. 

if anyone faced this kind of scenario early?.  

 

First is to check is what BAT command line that are attempting to run?

FME at the start of a Translation Log conveniently gives an equivalent Command Line to use in things like BAT files Eg.

 

 

The “--” extra lines are optional to use in the Command Line and allow the ability to override any Public Parameters with other values.  If don’t use them off then will run with the Default Workspace Parameter values.

This should virtually always return the same result as from WorkBench.


In addition to what @bwn said, you should doublecheck as which user the batch file is being run. If that’s not the same as Workbench then it might be related to different levels of access to certain folders or databases.


Thanks for your response @bwn  and @redgeographics !

 

Hello @bwn , regarding parameter value of workspace is not problem in my case because if it was problem, which would not be run any records regardless of count. I accept that virtually always return the same result as from WorkBench but in my case it not processing further after below line and not error too.

 

Hello @redgeographics , I checked those view too no problem in it. 

 


Reply