Converting and

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Ratan Babu N
Participant
Posts: 34
Joined: Tue Dec 27, 2005 12:13 am

Converting and

Post by Ratan Babu N »

Hi All,

My source field consists of Char field. I have to look up on the Varchar field and I will load that field as Varchar. For that there is a need to convert the source char field to Varchar and then trim the white spaces.
Can I do that in Modify stage or any other stage other than Transformer stage. If so how to do? Plz Clarify.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

In the Chapter in the Modify stage in the Parallel Job Developer's Guide is a table showing what data type conversions can happen automatically and which ones require a function. Read that first. Then read through the available data type conversion and cast functions.
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