error in Oracle Stage > dboptions

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
sribuz
Premium Member
Premium Member
Posts: 19
Joined: Mon Jun 04, 2007 7:26 pm
Location: US

error in Oracle Stage > dboptions

Post by sribuz »

Hi,
I created a job with Oracle stage as source in EE 7.5.
In Oracle stage properties were set as
Output>Connections>dboption mode>auto generated
and I defined db password in environment variables.

so it generated Connection>DB Options={user=username,password=#$password#}

when I run the job it aborted giving me fatal error message as ..

Incorrect dboption list; it failed on Expected "," or "}", got: "$", line 1.
Thanks & Regards,
Sri
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Post by Minhajuddin »

$ is a special character and you can't use it just like that in your password.
The documentation mentions what you need to do when you have special characters in your password.
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
sribuz
Premium Member
Premium Member
Posts: 19
Joined: Mon Jun 04, 2007 7:26 pm
Location: US

Post by sribuz »

Minhajuddin wrote:$ is a special character and you can't use it just like that in your password.
The documentation mentions what you need to do when you have special characters in your password.
I am using evironment variable there, not '$' as a character in password.
Thanks & Regards,
Sri
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Double check your password field. It shouldn't display anything like "#$password#"; it should always have something like "******" especailly for PX job.
sribuz
Premium Member
Premium Member
Posts: 19
Joined: Mon Jun 04, 2007 7:26 pm
Location: US

Post by sribuz »

lstsaur wrote:Double check your password field. It shouldn't display anything like "#$password#"; it should always have something like "******" especailly for PX job.

I defined password in environment variables and there its value is encrypted and displayed as *******

I am using that environmental variable so I have to use it as $#EnvironmentVariable#.
Thanks & Regards,
Sri
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I should have thought #$EnvironmentVariable# is what's required - which would also explain the 'unexpected "$"' message.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

have you defined the database (remote server)
sribuz
Premium Member
Premium Member
Posts: 19
Joined: Mon Jun 04, 2007 7:26 pm
Location: US

Post by sribuz »

ray.wurlod wrote:I should have thought #$EnvironmentVariable# is what's required - which would also explain the 'unexpected "$"' message. ...
now I am getting error as

Incorrect dboption list; it failed on Expected "," or "}", got: "#", line 1.

when I run job again its giving me

Incorrect dboption list; it failed on Expected "," or "}", got: "$", line 1.

can # or $ be used as part of password ? I used ## as part of passwd


Re:keshav0307: I have mentioned remote server name.
Thanks & Regards,
Sri
sribuz
Premium Member
Premium Member
Posts: 19
Joined: Mon Jun 04, 2007 7:26 pm
Location: US

Got my problem Solved

Post by sribuz »

Oracle Dbase password got expired and was in grace period.

Thanks for Helping.
Thanks & Regards,
Sri
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

After 8 days later to find out that the job's problem was cuased by expired password? You marked this topic as a workaround?
Post Reply