datatype maxsize in datastage

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
vitumati
Participant
Posts: 27
Joined: Tue Sep 07, 2010 11:38 pm

datatype maxsize in datastage

Post by vitumati »

Hi Friends,

I have column "Comment" in my source I'm getting 8000 character for that column.
Can datastage support 8000 character for in cloumn. ?
what is the max datatype for VarChar fields in datastage?
Abhinav
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DataStage has no limit, but most database servers do. If you import the table definition it will give you the correct data type, whether it's VarChar or LongVarChar.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vamsi.4a6
Participant
Posts: 334
Joined: Sun Jan 22, 2012 7:06 am
Contact:

Post by vamsi.4a6 »

Could you please clarify below doubts for datatype maxsize in datastage?

1)If the DataStage has no limit for datatype when to use smallint,bigint,integer in datastage?

2)when i gone through the post in the link
viewtopic.php?t=146172&highlight=overflow

I understood that there is some limit for signed Integer,unsigned integer etc datatypes

I am totally confused whether datatypes in datastage is having any maximum limit or not ?
Please correct me if i am wrong
chandra.shekhar@tcs.com
Premium Member
Premium Member
Posts: 353
Joined: Mon Jan 17, 2011 5:03 am
Location: Mumbai, India

Post by chandra.shekhar@tcs.com »

@vamsi.
For numeric datatypes, you can use what we are having here in my project.
If the length(or no. of digits) <= 5 then Smallint,
6 < length <=10 then Integer,
11 < length <= 19 then Bigint,
length > 20 then Decimal.
Thanx and Regards,
ETL User
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Your original question specified a character string. Data type sizes are all specified precisely in Chapter 2 of the Parallel Job Developer's Guide.
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