IConv function behaving differently in DS 7.5.2 and 7.5

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

kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

If your install "accidentally" involved NLS support and you DON'T need it, then you should de-install the engine and do a fresh install. This is the first of many small discrepancies between NLS and non-NLS installations. You're going to go crazy trying to find all functions that operate just a little bit different. Checkout the TIMEDATE() function results on non-NLS and NLS systems, for example. ICONV/OCONV is another. Save yourself non-stop hassle and fix it NOW.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
saikrishna
Participant
Posts: 158
Joined: Tue Mar 15, 2005 3:16 am

Post by saikrishna »

D-YMD[4,2,2] is working fine.

To solve unknown problems, I want to disable NLS.

As NLS is installed in new DS Server 7.5.2, Is there any way to disable NLS, to make ICONV/OConv functions to work properly?

Thanks
Sai
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Iconv() and Oconv() work properly whether or not NLS is enabled.

Some conversions behave differently, but it is proper in each case.

You can disable/enable NLS via the NLSMODE configuration parameter in the uvconfig file. To change you must shut down DataStage, edit the file, regenerate, and start DataStage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I posted how to disable it earlier in this thread.
-craig

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