span8
span4
span8
span4
What are the advantages and disadvantages of each FME batching method?
The following sections list the advantages and disadvantages of each FME batching method.
TheCommand Line Batch Fileis easy to understand and simple to create and use.It is most efficient when the need is to carry out the same translation on the same datasets again and again.When the dataset or translation parameters need to be changed then a manual editing of the file is required;this isn't a particularly user-friendly task.
TheFME Command Fileis only slightly more complicated than the Command Line method,but carries additional advantages for certain situations.
Like the Command Line method it is simple to understand,but requires manual editing of the batch file when batch parameters need to be altered.
One important characteristic is that the process starts FME,executes each command in turn and then stops FME.This is different from the Command Line batch file which would start FME,execute a command,stop FME,start FME,execute a command,stop FME,start FME,… etc.
Continually starting and stopping FME can carry a very large time overhead when the number of commands to be carried out is numbered in the hundreds or thousands,so the Command File has a significant advantage.
TheBatch Deploymethod has the advantage of a user-friendly GUI to help a user select files and change batch settings.From FME2005 it is no longer limited to a single input and output format;a user may now have multiple source readers (only one can be batched) and multiple destination readers (any number of which can be batched).
Disadvantages are that it is only capable of processing data within a single workspace,whereas other methods allow for multiple workspaces.The batch files created by this tool use TCL and are not easy for a novice user to edit;so changing settings requires the user to repeat the batch deploy wizard each time.
Another disadvantage is that this method does not permit values to be passed to Macros within the workspace during the batch process.
fme D:abc.fme
FME 2015.0 (20150217 - Build 15253 - WIN32)
FME Database Edition (node locked-crc)
Temporary License: 30 days left.
Machine host name is: ABC-009
Copyright (c) 1994 - 2015,亚搏在线Safe Software Inc.
亚搏在线Safe Software Inc.
Expected an even number of command line arguments,instead got 3 for command lin e: >> `Scripts' `From' `PROD\abc.fme' <<
Program Terminating Translation FAILED.
I usually see this type of error if there are spaces in the file path.Try putting quotation marks around the path:
fme "e:\Scripts From PROD\abc.fme"
fme.exe COMMAND_FILE
c:\workspace.fmw --SourceDataset S1 --DestDataset D1c:\workspace.fmw --SourceDataset S2 --DestDataset D2c:\workspace.fmw --SourceDataset S3 --DestDataset D3
fme.exe c:\workspace.fmw --SourceDataset S1 --DestDataset D1fme.exe c:\workspace.fmw --SourceDataset S2 --DestDataset D2fme.exe c:\workspace.fmw --SourceDataset S3 --DestDataset D3
Batch Processing Method 2: Command File
Batch Processing Method 3: Batch Deploy
Can FME be used in Batch Mode?
Using Batch Deploy to write data to an Oracle database,but the option is greyed out on the menubar.
Write Feature Types in a Specific Order
Including Additional Supporting Files in your Output ZIP File - Desktop Zipster
Dynamic 亚搏在线Workflows: Destination Schema Contains Different Feature Type Names
© 2019 亚搏在线Safe Software Inc |Legal