Page 1 of 1

Env Variables

Posted: Mon Jun 09, 2008 1:20 pm
by DS_MJ
Hello:

Would appreciate it if you could show me how to set a user defined environmental variable whos value is set to UPPER CASE can be set to lower case as and when required in other jobs sequences.

Thanks in advance.

Mamta

Posted: Mon Jun 09, 2008 1:28 pm
by chulett
Something like this, perhaps?

viewtopic.php?t=119624

Re: Env Variables

Posted: Mon Jun 09, 2008 1:31 pm
by gateleys
1. Set your user variables via the Admin client -> Properties -> Env Variables -> User variables. Let's suppose the variable is called MyVariable.
2. Initialize them in your sequence through job properties -> Parameter. You may assign $PROJDEF as its default value.
3. In the sequence, use a User variable stage. Define a variable called var. Set its properties to DownCase(MyVariable).

You are good to go.

Re: Env Variables

Posted: Mon Jun 09, 2008 2:03 pm
by DS_MJ
gateleys wrote:1. Set your user variables via the Admin client -> Properties -> Env Variables -> User variables. Let's suppose the variable is called MyVariable.
2. Initialize them in your sequence through job properties -> Parameter. You may assign $PROJDEF as its default value.
3. In the sequence, use a User variable stage. Define a variable called var. Set its properties to DownCase(MyVariable).

You are good to go.
Thanks a bunch guys, appreciate it much.

Best Regards,
Mamta