Conversion

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
pandujoy
Participant
Posts: 70
Joined: Tue May 13, 2008 1:37 pm

Conversion

Post by pandujoy »

How to convert an Interger value to Varchar and Varchar to Integer.....

Please help me...I dont know how to convert this value.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Read the Parallel Job Developer's Guide about implicit and explicit data type conversions (you can search within the PDF).

In short you can convert from any numeric to string implicitly but the reverse operation will require a conversion function. The name of the function will depend on whether you are effecting the conversion within a Modify stage or a Transformer stage.
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