Reg ORA_NLS33 env variable

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
visvacfirvin
Premium Member
Premium Member
Posts: 49
Joined: Fri Dec 14, 2007 1:43 pm

Reg ORA_NLS33 env variable

Post by visvacfirvin »

Hi,

When a job runs, the director lists the environmental variables used for initializing the job. It has one parameter called ORA_NLS33. Where does this value come from. We've not defined in dsenv. UNIX admin installed a patch in UNIX and this caused the value of ORA_NLS33 to be changed. This is causing is sqlldr error in datastage. When i echo the variable in unix, it shows the correct path. But datastage env settings in director shows incorrect path

Can you please tell me where does this variable come from.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Are you certain that the "dsenv" file doesn't call a script? If you source this file using ". ./dsenv" from a login session what setting do you get for the ORA_NLS33 environment variable?
visvacfirvin
Premium Member
Premium Member
Posts: 49
Joined: Fri Dec 14, 2007 1:43 pm

Post by visvacfirvin »

We are getting the following value.

ORA_NLS33=/home/oracle/ocommon/nls/admin/data

instead of

ORA_NLS33=/u01/app/oracle/product/9.2.0/ocommon/nls/admin/data

We never used to set this in dsenv. Yesterday UNIX admin installed a patch after which the value got changed and we had to explicitly define in dsenv. But prior to that where it was fetching the values?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That would be a question for your DBA.
-craig

"You can never have too many knives" -- Logan Nine Fingers
visvacfirvin
Premium Member
Premium Member
Posts: 49
Joined: Fri Dec 14, 2007 1:43 pm

Post by visvacfirvin »

Yea that is question for DBA. But my question is from where datastage is picking up this value. The thing is the value is different for dsadm user id alone. Is this something to do with user profile?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That would seem to be the case, yes, if what you are saying is true. Only you can compare the user profiles and tell, of course.
-craig

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