DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
palak08
Participant



Joined: 04 Nov 2010
Posts: 75

Points: 820

Post Posted: Fri May 04, 2018 3:59 am Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Server
OS: Unix
Additional info: DB2 Connector stage is having issue to perform Range Lookup
Hi Team,

How to perform RANGE LOOKUP In server job, without using Enterprise or UV stage.

Thanks In Advance
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42792
Location: Denver, CO
Points: 220559

Post Posted: Fri May 04, 2018 6:17 am Reply with quote    Back to top    

So... based on your 'additional info'... you actually mean how to perform range lookup in a Server job with the DB2 Connector stage?

Now, I don't do DB2 and did not get a chance to use Connector stages but back in the day a 'range lookup' in a Server job with a DB stage meant custom / user-defined SQL. I seem to recall letting the stage generate it and then customizing it to do a BETWEEN or whatever was needed other than the normal equality join.

How about showing us what you've tried and what 'issue' you've had. Anything like what was mentioned above?

_________________
-craig

"I don't mind you comin' here and wastin' all my time time"
Rate this response:  
Not yet rated
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 54407
Location: Sydney, Australia
Points: 295092

Post Posted: Sat May 05, 2018 1:12 am Reply with quote    Back to top    

Like Craig, I'd use a BETWEEN query in custom SQL. Use two parameter markers and the values coming from two columns marked as Key.

_________________
RXP Services Ltd
Melbourne | Canberra | Sydney | Hong Kong | Hobart | Brisbane
currently hiring: Canberra, Sydney and Melbourne (especially seeking good business analysts)
Rate this response:  
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours