Hi All,
I am mapping the enviromental variable in the field derivation for a output column in the transformer. while compiling it gives some long error message. But the same env variable used in seq file stage working fine.
I have declared this variable in my job parameter and given the default as $ENV.
It seems only in transformer it gives issues. I tried replacing with Basic Transformer, here its working fine.
Could anyone suggest whats the issue and solution for this.
Thanks,
Senthil P
Evironmental Variable in DS Transformer
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 467
- Joined: Tue Mar 20, 2007 6:36 am
- Location: Chennai
- Contact:
Search the forum, this has been discussed many times, You can use a function called GetEnvironment() (if I remember correctly) to get the values of environment variables in a Transformer.
Minhajuddin
<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>