--connect to the source Oracle database
-- run the following query:
SQL> SELECT * FROM V$NLS_PARAMETERS;
SQL> SELECT * FROM NLS_DATABASE_PARAMETERS;
SQL> SELECT * FROM NLS_SESSION_PARAMETERS;
Note the parameter values for NLS_LANGUAGE, NLS_TERRITORY and NLS_CHARACTERSET.
2. Now check the dsenv file in the DataStage server. ( It is located in … /Ascential/DataStage/DSEngine/ directory.) In the dsenv file, find the line that has the Oracle NLS_LANG variable. It should look like:
NLS_LANG=<>_<>.<>
For example: NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
3. Change or add this line as need. After you have edited the dsenv file, remember to stop and restart the server.
References:
Related Posts:
- Ascential DataStage: Linux Sendmail and Notification Activity
- Ascential DataStage: Routine to Reset Sequnce Key
No comments:
Post a Comment