Attempted WRITE with NULL record ID

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
bhaskarjha
Participant
Posts: 67
Joined: Thu Apr 06, 2006 7:13 am

Attempted WRITE with NULL record ID

Post by bhaskarjha »

Hi

MY JOB IS GETTING ABORTED IN BETWEEN AND GETTING FOLLOWING ERROR , I KNOW THIS TOPIC IS DISCUSS IN THIS FORUM AND THERE MIGHT BE AN NULL VALUE IN ANY OF THE KEY COLUMN , BUT IS THERE ANY WAY THAT I WILL GET THE NAME OF COLUMN AND EXACT FILE FROM WHERE NULL IS COMING

DataStage Job 133 Phantom 3296
Program "JOB.1693180165.DT.1364373690.TRANS2": Line 145, Attempted WRITE with NULL record ID
Program "JOB.1693180165.DT.1364373690.TRANS2": Line 145, Attempted WRITE with NULL record ID
Program "JOB.1693180165.DT.1364373690.TRANS2": Line 145, Attempted WRITE with NULL record ID
Program "JOB.1693180165.DT.1364373690.TRANS2": Line 145, Attempted WRITE with NULL record ID
Bhaskar Jha
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The empty value is in the KEY, you can identify the column of a compound key only by splitting the columns individually, for instance by another output stream to a sequential file that splits out each individual column.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Search your sources WHERE colname IS NULL.
If the source is a text file, use the format tab or individual column properties to change the representation of NULL.
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