VARCHAR becomes LONGVARCHAR while importing

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
horserider
Participant
Posts: 71
Joined: Mon Jul 09, 2007 1:12 pm

VARCHAR becomes LONGVARCHAR while importing

Post by horserider »

I imported a DB2 Stored Procedure that has 2 OUTPUT parameter as defined below

OUTPUT_1 VARCHAR(2000)
OUTPUT_2 VARCHAR(367)

When I see the METADATA after importing, both the columns became LongVarchar().

Any idea why Varchar Type Column is automatically changed to LongVarchar() in DataStage 7.5.2?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I believe the "boundary" is a length of 4096, to comply with the ODBC 3.5 (and earlier) standard.
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