Difference in Sequential File stage between DS 7.5 and 8.1

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
Jamesliu
Participant
Posts: 3
Joined: Mon Mar 15, 2010 6:18 pm

Difference in Sequential File stage between DS 7.5 and 8.1

Post by Jamesliu »

I am using Sequential File stage (read from a text file) to read a varchar field with hex value like '0000CF' into an integer field. This works good in DS 7.5, but not work in 8.1. Anyone knows what caused it and how to fix?

Thanks!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard.

You've been relying on a bug in version 7.5 which has been fixed in version 8.1. That value is simply not an integer. You could read it as VarChar and convert from hex within a Transformer stage or, perhaps, an External Filter stage.
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