Errors on a Lookup Stage

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
KoningB
Participant
Posts: 7
Joined: Tue Mar 06, 2007 1:33 pm

Errors on a Lookup Stage

Post by KoningB »

Hi,

I'm trying to run a job that takes 5 lookup files, and does some replace on a transaction file. I created this job on a dev box and it worked fine. The job just got promoted to the production server and errors began appearing. Here is the primary error:

LUP_Join_and_Replace,2: Could not map table file "D:/IBM/Datasets/lookuptable.20070507.i1q4boc" of length 1136: Permission denied
:!: The 'D' drive was the drive the job was created on in the dev system. There is no 'D' drive on the production server :!:

However I never map to any files that I know of. My question is what is this talking about, and can I fix it? The error isn't static either, the ending of the file name changes between runs. e.g.:

LUP_Join_and_Replace,0: Could not map table file "D:/IBM/Datasets/lookuptable.20070507.ukfohxb" of length 1136: Permission denied

These were back to back runs, but the file name changed. This I believe is the main error I need fixed. Another problem that has shown up is that all of my records from an input file come with this warning:

APT_CombinedOperatorController(0),1: Field 'Res' from input dataset '0' is NULL. Record dropped.

This error repeats for every record, but I've been over that file and recreated it several times to no avail.

Any suggestions?
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.

--Nathaniel Borenstein
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

As for your first error. Look at your config file and see what paths have you specified their.
As for your second error, it seems like there is NULL encountered in a non-nullable column. Please check the metadata and the records. If the column is infact not nullable, then handle nulls appropriately.
Are there any additional surrounding messages for the second error?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
KoningB
Participant
Posts: 7
Joined: Tue Mar 06, 2007 1:33 pm

Post by KoningB »

So the main error is coming from a config problem with the server. Good call! 8)

As for the second error, NULLS are allowd and handled for that field, and there are no NULLS in the file. Any idea what's happening? (No surronding error messages)
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.

--Nathaniel Borenstein
nick.bond
Charter Member
Charter Member
Posts: 230
Joined: Thu Jan 15, 2004 12:00 pm
Location: London

Post by nick.bond »

Concentrate on fixing the first error and the second may just drop out.

If you have fixed the first and still get the second try setting APT_DISABLE_COMBINATION = 'True' so you can see exactly which operator is causing the problem.
APT_CombinedOperatorController(0),1
Regards,

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

Post by ray.wurlod »

NULLs can appear in the stream if a lookup fails and the lookup failed rule is Continue. The Lookup stage is then effectively performing a left outer join.
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