What Data Sources Support Multiple Look Up Results?

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
olgc
Participant
Posts: 145
Joined: Tue Nov 18, 2003 9:00 am

What Data Sources Support Multiple Look Up Results?

Post by olgc »

Hi there,

Multiple look up results means one searching returns more than one results if more than one records meet the search criteria. We all know hash file does not support multiple look up results. I know only ODBC data source supports multiple look up results. Is there any other database source supporting the multiple look up results?

Thanks,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

The ODBC and UV stages are the only ones that support that option.
-craig

"You can never have too many knives" -- Logan Nine Fingers
olgc
Participant
Posts: 145
Joined: Tue Nov 18, 2003 9:00 am

Post by olgc »

Thanks Craig.

What happens for those do not support returning multiple look up results when a search yields more than one records? Do they just pick up one randomly and return to users?

Thanks,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Depends on the stage writer. Won't be random but it could be the first, could be the last, may log a warning or may not... varies from stage to stage from what I've seen.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply