warning in lookup

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
ketanshah123
Participant
Posts: 88
Joined: Wed Apr 05, 2006 1:04 am

warning in lookup

Post by ketanshah123 »

Hi
While doing lookup between db2 database and dataset as ref. getting 2 warning messages
1) Lookup_CNUM: When checking operator: Operator of type "APT_LUTCreateOp": will partition despite the
preserve-partitioning flag on the data set on input port 0.

2)Lookup_CNUM,0: When binding input interface field "CNTRCTR_CNUM" to field "CNTRCTR_CNUM": Implicit conversion from source type "string[10]" to result type "string[9]": Source string will be truncated.

In the 2nd warning mesage just changing length of field will do ?

How to resolve these warning messages ?

Thnax in advance
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

1. in the previous stage you have choosen to preserve the partition, if you are explicitly re partitioning then in the previous stage to this, choose clear partition.

2. use modify stage to changing length or datatype
AKUMAR21
Participant
Posts: 30
Joined: Fri Jul 20, 2007 12:44 am
Location: Chennai

Post by AKUMAR21 »

Why to use a modify stage, Keshav? We can directly change it in the input/output metadata of the lookup stage.
"In god we trust; rest all we virus scan"
Post Reply