80459ÿÿÿÿÿ

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
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

If you want to correct, try a convert or trim.

If you want to identify the char, try preparing various ascii chars and matching them with the char you obtain.
ranga1970
Participant
Posts: 141
Joined: Thu Nov 04, 2004 3:29 pm
Location: Hyderabad

Post by ranga1970 »

I was of the opinion trim takes care of leading and trailing space??
any how I tried that before doing my first post it self and it dint work?
If you want to identify the char, try preparing various ascii chars and matching them with the char you obtain
could you be elobarative I did not Understand
Look like I needd :idea: :idea: :wink:
RRCHINTALA
ds_developer
Premium Member
Premium Member
Posts: 224
Joined: Tue Sep 24, 2002 7:32 am
Location: Denver, CO USA

Post by ds_developer »

Your assumptions are not correct. The right way to substring is:

Link.sourcefield[1,5]

Syntax is [start,length]

John
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

It is probably a char(254) or char(253). You can check it with seq().
Mamu Kim
Post Reply