Error in lookup

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
sudhakar_viswa
Participant
Posts: 85
Joined: Fri Nov 18, 2005 5:35 am

Error in lookup

Post by sudhakar_viswa »

Hi,

I am getting the following errors.

Lookup_21,0: Ignoring duplicate entry at table record 2; no further warnings will be issued for this table

Lookup_21,1: Failed a keylookup for record.
Lookup_21,1: The runLocally() of the operator failed.

Lookup_21,1: Input 0 consumed 1 records.
Input 1 consumed 1 records.
Input 2 consumed 0 records.

Lookup_21,1: Output 0 produced 0 records.
APT_CombinedOperatorController(1),1: The runLocally() of the operator failed.
Lookup_21,0: Failed a keylookup for record.
Lookup_21,0: The runLocally() of the operator failed.

Lookup_21,0: Input 0 consumed 2 records.
Input 1 consumed 1 records.
Input 2 consumed 0 records.
Lookup_21,0: Output 0 produced 1 records.

Give me a solution for the above errors.

Thanks,
sudhakar
i need to know datastage
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Sudhakar,

The error message
Lookup_21,1: Failed a keylookup for record.
should mean something to you. This is not a DataStage problem but a data problem. Either add the key to your lookup or change your logic for failed lookups.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Also the first warning tells you that the key value in the lookup data has duplicates. Either remove duplicate or handle the duplicate with the option avaialbe in Lookup.
For the second error, check with the "Condiiton not met" and "Lookup failure" options aviable in lookup stage.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
sudhakar_viswa
Participant
Posts: 85
Joined: Fri Nov 18, 2005 5:35 am

Post by sudhakar_viswa »

Hi Kumar/Arndw,

Thanks.I got it

--sudhakar
i need to know datastage
Post Reply