Lookupstage Match/Rejects

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
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

Lookupstage Match/Rejects

Post by kollurianu »

Hi All,

I need to acheive following logic in my job with lookup stage, sources (source and ref source) are files

Settle Dates are same and
Share Quantity are same and
Mainframe Time Stamp for both records are within a minute and
The first 3 digits of the SS Asset ID for both the records are same.

The value/format in Mainframe Time Stamp field is 8/31/2010 15:41.

Any thoughts greatly appreciated.

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

Post by ray.wurlod »

Create a numeric representation of the timestamp as a string (for example 201008311541 and use that in the lookup. Can you be a bit more precise about "within a minute" implies? The granularity of your timestamp is already "minute".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Please delete your duplicate thread before anyone posts to it.
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