hi,
my source is sql server
target is sql server.
my design is
iam using DRS stage to connect to SQL server and a transformer stage to perform transformations, and DRS stage as target.
i created another link from the transformer stage to sequential file inorder to catch the rejected rows.
i specified a constraint in the transformer stage,when specifying constraint properties.
i declared as
dslink4- dslink3.city='Berlin'
dslink6- dslink4.Rejectedcode
for specifying DSLINK4 as rejected row, i have checked that link.
here DSLINK4 AND DSLINK6 ARE OUTPUT LINKS AND DSLINK3 IS INPUT LINK.
i want to specify DSLINK4 as rejected link.
iam getting error in the transformer stage.
plz help me.
cheers;
vijay
regarding transformer stage
Moderators: chulett, rschirm, roy
You never mentioned what error message are you getting.
Change DSLink6 constraint to.
You will also have to specify transaction size of 1 for this functionality to work properly. And there is a performance price to pay.
Uncheck the Reject box.
Change DSLink6 constraint to.
Code: Select all
dslink6- dslink4.REJECTED
Uncheck the Reject box.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It is impossible to help you without knowing exactly what error message you are getting. Otherwise your question is like "my car won't start - what's wrong with it?".
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.
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm
hi Gurus,
i have connected DSLINK4 to DRS STAGE AND DSLINK6 TO SEQUENTIAL FILE.
i want all the rejected rows to go to SEQUENTIAL FILE.
i specified constraint for this.
linkname constraint rejected row abort after rows
DSLINK4 DSLINK6.REJECTED 0
DSLINK6 DSLINK3.CITY='Berlin' checked 0
here DSLINK3 is the input link.
iam getting error as ERROR PROCESSING TRANSFORM DERIVATION FOR TRANSFORMER STAGE.
plz help me.
cheers;
vijay
i have connected DSLINK4 to DRS STAGE AND DSLINK6 TO SEQUENTIAL FILE.
i want all the rejected rows to go to SEQUENTIAL FILE.
i specified constraint for this.
linkname constraint rejected row abort after rows
DSLINK4 DSLINK6.REJECTED 0
DSLINK6 DSLINK3.CITY='Berlin' checked 0
here DSLINK3 is the input link.
iam getting error as ERROR PROCESSING TRANSFORM DERIVATION FOR TRANSFORMER STAGE.
plz help me.
cheers;
vijay
Your explanation does not make sense.
You said
But you say
You said
SO that means DSLINK6 is the reject link.i have connected DSLINK4 to DRS STAGE AND DSLINK6 TO SEQUENTIAL FILE
But you say
The link that is going to the DRS stage is used in the reject link's contraint as followsDSLINK4 DSLINK6.REJECTED 0
DSLINK6 DSLINK3.CITY='Berlin' checked 0
Code: Select all
LinkToDRS.REJECTED
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Participant
- Posts: 228
- Joined: Tue Oct 03, 2006 7:08 pm