Hi,
I have two records in the input, while processing I split the first record into two. But in the output Im getting only 2 records which is the 1st record and the splitted record.Im not getting the 2nd record.
Is the input and output count should be same?
Is there any possibility of getting all the records at the output?
Please help me out.
Input and output row count
Moderators: chulett, rschirm, roy
Input and output row count
Gopinath
Can you give us more details?
Which stages you are using and how you are making 2 records of one record ?
There is no rule as such there should be same number of input and same number if output..otherwise row generater might not have worked at all
Which stages you are using and how you are making 2 records of one record ?
There is no rule as such there should be same number of input and same number if output..otherwise row generater might not have worked at all
-----------------------------------
Regards
MK
What would you attempt to do if you knew you could not fail?
-----------------------------------
Regards
MK
What would you attempt to do if you knew you could not fail?
-----------------------------------
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Actualy Im using 3 stages in the job: input datset -- Transformer-- Output dataset. I'm calculating a date in the transformer and check the same with another date, if condition is not met I have to split the record in the transformer and write it as two records.mk_ds09 wrote:Can you give us more details?
Which stages you are using and how you are making 2 records of one record ?
There is no rule as such there should be same number of input and same number if output..otherwise row generater might not have worked at all
Is there any possibility of doing this??
Gopinath
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Try this design..
Seq file - > Transformer => funnel - > seq. file
From Transformer stage there will two output links. You can put constraint depending upon your requirement, so that two records will pass on the two links and funnel will collect those records and final sequential file will contain the two records..
hope this helps..
Seq file - > Transformer => funnel - > seq. file
From Transformer stage there will two output links. You can put constraint depending upon your requirement, so that two records will pass on the two links and funnel will collect those records and final sequential file will contain the two records..
hope this helps..
-----------------------------------
Regards
MK
What would you attempt to do if you knew you could not fail?
-----------------------------------
Regards
MK
What would you attempt to do if you knew you could not fail?
-----------------------------------