How to add environment variables?

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
hitmanthesilentassasin
Participant
Posts: 150
Joined: Tue Mar 13, 2007 1:17 am

How to add environment variables?

Post by hitmanthesilentassasin »

Hi,

Could any one please let me know how do i add the variables like $APT_DEBUG_OPERATOR, $APT_DEBUG_PARTIOTION in the administrator by default I am not able to find it. and are they all applicable for the parallel jobs?

Thanks,
Waseem
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Just... type them in as User Defined variables.
-craig

"You can never have too many knives" -- Logan Nine Fingers
hitmanthesilentassasin
Participant
Posts: 150
Joined: Tue Mar 13, 2007 1:17 am

Post by hitmanthesilentassasin »

Thanks for the post chulett. However, these are the environment variables used to start the debugger. but when i check in the administrator these variables are missing. So, I wanted to know how do i add these system defined environment variables?

Thanks
deanwalker
Participant
Posts: 82
Joined: Tue Jan 22, 2008 10:37 am
Location: UK

Post by deanwalker »

Just... type them in as User Defined variables.

DS Admin, select Project, Properties, Environment, User-Defined, type in the last row.
hitmanthesilentassasin
Participant
Posts: 150
Joined: Tue Mar 13, 2007 1:17 am

Post by hitmanthesilentassasin »

well these are not user defined variables but environment variable(something similar to $APT_CONFIG_FILE), which i want to use in my job.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Actually, they are 'user defined'. And you, the user, need to define them in your environment. Rather than argue, suggest you just give it a try.
-craig

"You can never have too many knives" -- Logan Nine Fingers
hitmanthesilentassasin
Participant
Posts: 150
Joined: Tue Mar 13, 2007 1:17 am

Post by hitmanthesilentassasin »

Hey Chulett and deanwalker first Apologies if you felt i was arguing. My first understanding was they are system defined. anyways, let me try to define them and check. Ill post the result what i get when i am done.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No worries, that probably wasn't the best choice of words. Debating, discussing... whatever, just get on in there and give it a whirl. :wink:
-craig

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