issue with using $ENV after DS8 migration

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
getsatish_gk
Participant
Posts: 104
Joined: Sat Dec 24, 2005 1:26 am
Location: Bengaluru

issue with using $ENV after DS8 migration

Post 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:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You get this error when exactly? Doing what?
-craig

"You can never have too many knives" -- Logan Nine Fingers
getsatish_gk
Participant
Posts: 104
Joined: Sat Dec 24, 2005 1:26 am
Location: Bengaluru

Post 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
getsatish_gk
Participant
Posts: 104
Joined: Sat Dec 24, 2005 1:26 am
Location: Bengaluru

Post 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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Good catch. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply