How to convert a Integer datatype to int datatype.

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
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

How to convert a Integer datatype to int datatype.

Post by laxmi_etl »

I am reading the oracle database for the number field and its recognizing as Integer datatype. My target data type is "int" and how do i convert that datatype??

Thanks
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

that doesnt make any difference i beleive .
hi sam here
meena
Participant
Posts: 430
Joined: Tue Sep 13, 2005 12:17 pm

Post by meena »

Hi
No need of doing any conversion, int stands for integer.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Integer is four-byte integer in SQL terminology. int32 is four-byte integer in C terminology. SmallInt maps to int16 and TinyInt maps to int8.

Open any table definition in the Repository and select the Layout tab; there are three option buttons there where you can view exactly the same table definition as if it were (a) an SQL definition, (b) an Orchestrate record schema or (c) a COBOL file definition.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

Post by laxmi_etl »

This works great..

Thanks for your help.
Post Reply