Hi Marion,
> I am more familiar with ascii mapping files than workbench, but now I
> have to solve one problem with workbench in a batch process. So I saved
> the workspace as an fme mapping file to see which Macros are used for my
> two source datasets and the destination dataset. I found that
>
> fme.exe '//%tWorkSpace//' --SourceDataset_SICAD_SQD_1
> '//%tSQDFile//'.001 --SourceDataset_CSV_1 '//%tcdvFile//'.csv
> --DestDataset '//%tShapeFolder//'
>
> does the job.
>
> Is there any easier way than searching the fme mapping files or the
> workspace header to find out these macro names?
No, since a Workbench is essentially a mapping file with some
visualisation information added, this is the only way. What's worse is
that the little overview that's shown in the header (on how to run the
workbench in batch mode) isn't always correct. I've found that you
really need to get down into the mapping file portion.
--
Hans van der Maarel
Red Geographics
www.redgeographics.com / [EMAIL PROTECTED]
Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our
Professional Services team. Visit www.safe.com/services for details.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/fme/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/