Hallo
2> NUL ... means: redirect "stderr" to nirvana
which in UNIX would be /dev/null
... so all error messages from a shell (DOS) are shut quiet
This is usually the only way to get rid of DOS messages
during script execution.
Michael
mark2atsafe wrote:
> I think it redirects the output (from the process - not the output
> datasets) to an black hole. Apparently it's required when you're
> calling one FME process from another with TCL.
>
> Mark
>
> --- In [email protected], "Michael Pinter" <[EMAIL PROTECTED]> wrote:
>
>>Hello,
>>
>>thanks for your advice. I would try it.
>>What does "2> NUL:" mean?
>>
>>Thanks for your help
>>michp
>>
>>-----Ursprüngliche Nachricht-----
>>Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von
>
> mark2atsafe
>
>>Gesendet: Tuesday, December 06, 2005 6:30 PM
>>An: [email protected]
>>Betreff: [fme] Re: execute fme script from another fme script with
>
> new envelope parameters
>
>>Hi,
>>One suggestion I have (and I concede there will be other methods) is
>>to use the post processing TCL function.
>>
>>This page...
>>http://www.fmepedia.com/index.php/Pre_and_Post_Processing_with_TCL_FAQ
>>...has some FAQs on the subject.
>>
>>You can call one FME mapping file from the first using this. The
>>approx syntax would be...
>>FME_END_TCL exec fme.exe anotherTranslation.fme 2> NUL:
>>
>>To pass values through I would use macros. The first thing I'd try
>>would be to create a macro from your coords and pass them to a macro
>>in the new mapping file. I'd try it like this...
>>FME_END_TCL exec fme.exe anotherTranslation.fme --FileTwoLLXMacro
>>$(FileOneLLXMacro) 2> NUL:
>>
>>As I said, I'm sure other folk will have other suggestions, but this
>>is the first idea that came to me and I think it ought to work OK.
>>
>>Regards,
>>
>>Mark
>>
>>Mark Ireland, Product Support Engineer
>>Safe Software Inc. Surrey, BC, CANADA
>>[EMAIL PROTECTED] http://www.safe.com
>>Solutions for Spatial Data Translation, Distribution and Access
>>
>>--- In [email protected], "Michael Pinter" <[EMAIL PROTECTED]>
>
> wrote:
>
>>>Hello group,
>>>
>>>In fme file A, I calculate four coordinates! These four coordinates
>>>should be my search envelope (LLX;LLY;URX;URY) in fme file B.
>>>How can I do this?
>>>How can I load a mapping file from a mapping file with parameters?
>>>I tried it with INCLUDE but it doesn't work.
>>>
>>>Any advice would be helpful!
>>>michp
>>>
>>
>>
>>
>>
>>
>>
>>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
>>
>
>
>
>
>
>
>
> 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
>
>
>
>
>
>
>
>
>
--
// \\ Michael Habarta: Munich/Bavaria/Germany
// \\ Mail office: <mailto:[EMAIL PROTECTED]>
//=======\\ Mail priv: <mailto:[EMAIL PROTECTED]>
// \/| | \\ Homepage: <http://people.freenet.de/mhabarta>
// | | \\ Motto: Romans 8:28
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/