I see your discussion about this. Can you please let me know if you find any working solution? I'm trying to do the exactly same.
Below is the discussion link. http://grokbase.com/p/pig/user/09bdsqzzpf/is-it-possible-to-use-an-env-variable-in-parameters-file