Iconv(Col,"MC/N")

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
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Iconv(Col,"MC/N")

Post by roy »

Hi All,
I'm experiancing an unexpected behaviour from the Iconv function when using te MC/N conversion code.

The expected behaviur on my part is that it should work as documented,
in my case preserving the space characters from the original string.
For some strange reason the convrted string shows i the DB missing the spaces between the words/
The following example is taken from the designer's help screens:

Code: Select all

X = Oconv("John Smith 1-234", "MC/N")
 X = "John Smith -"
 
Any thoughts?

P.S.
DS version is 7.5
OS is Windows
DB is Teradata
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Roflmao :shock:
Was quick on the gun on my part
seems the programer ment to perform MC/N but instead used the MCA conversion sode :lol:
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The problem, in short, was between the keyboard and the chair.
:wink:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply