Rejected row

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
pkomalla
Premium Member
Premium Member
Posts: 44
Joined: Tue Mar 21, 2006 6:18 pm

Rejected row

Post by pkomalla »

Hi All,

I have hash file as input to a transformer and two outputs( one for target table and one for target error table)

In transformer I gave constraints as link1.rejected for the error table

link1 is output to target table

I am not getting the rejected row in error table but a warning which says
"DSP.Close Error -100 in $DSP.Close."

Anyone has the idea about this warning...

Thanks
thumsup9
Charter Member
Charter Member
Posts: 168
Joined: Fri Feb 18, 2005 11:29 am

Post by thumsup9 »

So you have some rows getting rejected but not getting inserted into Error Table. Do you have the insert privileges on that table, Is the metadata same and also are there any constraint violations.. I woud try inserting some rows into this table first.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

What are the stages (ODBC, OCI, database please) and can you view data (connections are proper) and what is the SQL action?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Is this the only warning?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
rachitha
Participant
Posts: 30
Joined: Wed Jun 28, 2006 10:53 am

Re: Rejected row

Post by rachitha »

pkomalla wrote:Hi All,

I have hash file as input to a transformer and two outputs( one for target table and one for target error table)

In transformer I gave constraints as link1.rejected for the error table

link1 is output to target table

I am not getting the rejected row in error table but a warning which says
"DSP.Close Error -100 in $DSP.Close."

Anyone has the idea about this warning...

Thanks
Hi.

what is ur target error table is it a database table or seq file ?,
use caps in link1.REJECTED
on error output link is it show'g you number of rows rejected?
are there any primary key violation in the target table.?
it will be helpfull if you provide above details

rachitha.
changming
Participant
Posts: 68
Joined: Wed Oct 13, 2004 3:35 am

constraints is right, check your input link

Post by changming »

I think nothing wrong with your constraints.
check your database and input data are matching.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

$DSP.Close is a function exposed by a plug-in stage. That is, the problem is not with the Hashed File stage or the Transformer stage. Get your DBA to trace what's happening on these connections.
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