Issue with Encrypted Password Environment variable

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sudarsan
Participant
Posts: 31
Joined: Fri Nov 17, 2006 4:14 am

Issue with Encrypted Password Environment variable

Post by sudarsan »

Hi All,

I am facing the issue with the enviroment varaibles.

In my job, Database password variable is declared as environment
variable(encrypted).

I have declared the Encrypted password as an environment variable.

Initilally I have given one password. At that time my job is working fine.

Later on, my data base password got changed. So, I have changed the
same in environment variable.

But this new password is not affecting in job and job is getting aborted
saying that "Log in failed".

Can any one Please help me on this.
Thank You,
Sudarsan AVS
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

type "$PROJDEF" without quotes in password's default value in the job or the top sequence from where its propogated. save it and compile.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
sudarsan
Participant
Posts: 31
Joined: Fri Nov 17, 2006 4:14 am

Post by sudarsan »

Thanks for quick reply.

Actually,I have added the password like you said only.(In job parameters, from add environment variables, added).
Thank You,
Sudarsan AVS
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

when you add that the value of environment variable is taken as default value in that job. When you change it in administrator it is not reflected to the job. To enable it to refer the value in administrator you select $PROJDEF in dropdown menu for other type of values but for encrypted parameters you need to specifically type $PROJDEF as password and save.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What 7.x version? Earlier ones required a recompile in that situation but later ones fixed that issue.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sudarsan
Participant
Posts: 31
Joined: Fri Nov 17, 2006 4:14 am

Post by sudarsan »

Thanks a lot....Issue solved.(As you said, I have done)
Thank You,
Sudarsan AVS
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As who said, you done what? Switched to using $PROJDEF?
-craig

"You can never have too many knives" -- Logan Nine Fingers
sudarsan
Participant
Posts: 31
Joined: Fri Nov 17, 2006 4:14 am

Post by sudarsan »

chulett wrote:As who said, you done what? Switched to using $PROJDEF? ...
Yes Chulett. Sorry for the confusion.
Using $PROJDEF, issue is solved.
Thank You,
Sudarsan AVS
Post Reply