DB2 table data insert Issue

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
naveed.zuber
Participant
Posts: 19
Joined: Wed Jul 16, 2014 4:14 am

DB2 table data insert Issue

Post by naveed.zuber »

Please provide your suggestions for below issue in DataStage 8.7

Seq File --->Transformations --->DB2 stage

Input:CSV file
5968485627(looks in both sequential file stage and Unix)

Output:DB2 table
Actual: 5?9?6?8?4?8?5?6?2?7(looks in the DB2 connector stage)
Expected: 5968485627

Datatype of both the fields input and output field is same i.e VARCHAR(20)
(Note:Input field is a straight mapping without any transformations)
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Did you try looking at that file using any hex editor for any unprintable characters between the numbers and are you using the same character set as the file to read it? Do you have any warning in the job log?
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Post Reply