Page 1 of 1

Encrypted passwords environment variables problems..

Posted: Thu Feb 08, 2007 3:56 am
by stivazzi
Hello.
i have some passwords saved in environment variables.
Trying to load them, in some cases (cannot understand which ones) when i read environment variables settings at the beginning of the sequence job, i can see some of them are shown by DS with encrypted value... but some is shown as '' (blank)... never happened to you?
trying to load this strange variable in another sequence job, i can see encrypted value, and all works fine....

Can you help me?

Thanks...

Posted: Thu Feb 08, 2007 5:06 am
by ray.wurlod
I've never seen this behaviour. What default value do you give the job parameter that references this environment variable?

Posted: Thu Feb 08, 2007 5:21 am
by stivazzi
no default value...
it's environment variable, encrypte... cannot set to $PROJDEF... i just see *******

now i found a walkthrough... i call, from my sequence job which cannot see the variable, the sequence one which sees the variable... and it works!
but i wanted to understand why so a strange behaviour

Posted: Thu Feb 08, 2007 6:08 am
by ray.wurlod
You CAN set to $PROJDEF. It's just that encrypted job parameters only echo "*" characters as they're being typed in.

Posted: Thu Feb 08, 2007 6:43 am
by stivazzi
did it, but setting to $PROJDEF does not solve my problem

Posted: Thu Feb 08, 2007 10:52 am
by narasimha
Go to the Job Properties of the job, delete the environment variable and re-add it.
This has helped me a couple of times.

Posted: Thu Feb 08, 2007 5:09 pm
by vmcburney
If a parameter seems to be set in the Administrator and is coming through as blank in the job there is usually a minor misspelling somewhere in the process.

Posted: Fri Feb 09, 2007 3:14 am
by stivazzi
i don't think of misspelling...
variables name imported as job parameters from same environment.
saved in the same way on 2different jobs.
imported not typing, but picking them up from job variables...

i cannot see a misspelling.