Page 1 of 1

issue with using $ENV after DS8 migration

Posted: Thu May 13, 2010 7:12 am
by getsatish_gk
Hi ETLers,

I have just migrated the scripts and jobs from version 7.5x to 8.1
& jobs get parameters through $ENV.

I have taken care of all other setting required to run the jobs in 8.1
But, only issue i am facing is assigning values to datastage via $ENV.

Is there any setting required in Admin or in OS/unix so that i can use $ENV.
Error i get is "Missing Parameter"

any information regarding $ENV usage and setting would be helpful :?

Note: $PROJDEF Is working fine. but $ENV not :oops:

Posted: Thu May 13, 2010 7:16 am
by chulett
You get this error when exactly? Doing what?

Posted: Thu May 13, 2010 7:22 am
by getsatish_gk
chulett wrote:You get this error when exactly? Doing what? ...
I get the error when executing jobs through unix script & in particular while assigning values to jobs parameters. we use $ENV to get the parameter values exported in the unix shell and pass to datastage

Posted: Thu May 13, 2010 8:51 am
by getsatish_gk
getsatish_gk wrote:
chulett wrote:You get this error when exactly? Doing what? ...
I get the error when execting jobs through unix script & in particular while assigning values to jobs parameters. we use $ENV to get the parameter values exported in the unix shell and pass to datastage
FOUND THE ISSUE:
i have to use -local option in dsjob command. it is working fine now

Posted: Fri May 14, 2010 6:25 am
by chulett
Good catch. :wink: