HI,
I am using merge stage in one of my jobs.
and the two input sequential file contains 325 records and 5 records respectively.
but the job gets abort with the following message.
MFGCFP_ODS_GL_ALLOCATION_SKU..tLoad: Function 'get_next_output_row' failed
At row 977, link "lmGL_NZ_TRADESPEND_SKU_inp", while processing column "ODS_GENERAL_LEDGER_KEY"
Column 'ODS_GENERAL_LEDGER_KEY' is not 'nullable'.
Fle one contains the column 'ODS_GENERAL_LEDGER_KEY' and I have checked that none of the records have null 'ODS_GENERAL_LEDGER_KEY' .
If some body could guide me in this.
Thanks in advance.
Yogesh
Merge Stage
Moderators: chulett, rschirm, roy
Hi Yogesh,
Check your metadata definitions in your job. Also since the number of records is just around 300-400, you can click view data in the stage and see if the columns are populated correctly in each of the records. I think this will help you.
Check your metadata definitions in your job. Also since the number of records is just around 300-400, you can click view data in the stage and see if the columns are populated correctly in each of the records. I think this will help you.
Vignesh.
"A conclusion is simply the place where you got tired of thinking."
"A conclusion is simply the place where you got tired of thinking."
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Run the job in the Debugger. Set a breakpoint on the output link. Edit the breakpoint so that the expression is
Code: Select all
IsNull(ODS_GENERAL_LEDGER_KEY)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
check mapping in merge stage
check your mapping in merge stage, make sure all the key for joining two files are used.