Reject the records if it is not numeric values

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
nagarjuna900
Participant
Posts: 35
Joined: Mon Dec 29, 2008 2:22 am
Location: chennai

Reject the records if it is not numeric values

Post by nagarjuna900 »

Hi,

am getting the data from the source file is eight characters
(it may have characters as well as Numbers). Ex: OMNI6408
While loading into target table i need to filter if first three letters are characters.
(If first 3 letters are numbers then only I need to load)

Pl give me the solution.

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

Post by ray.wurlod »

Code: Select all

Alpha(Left(InLink.TheCode,3))
as a constraint expression.
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