There are two file are there .1st file contains 5 records and
2nd file contain 10 records in target they want 50 records.how
can achieve this
Answers were Sorted based on User's Feedback
to the both file we need to add one DUMMY column(value is
like '1', we can use Column generator for this DUMMy column
generation)
then we can JOIN these 2 files based on this DUMMY column.
so, each column of File1 will join with each column of File2
i.e. 5*10= 50 records will come into output.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / datastageboss
The question seems to be incomplte , I am preassuming
that there will be duplicate records in both set of data
on a key say K1
use a join stage , the join type will be full outer join
and key will be K1 ( mentioned above)
At the output link we will receive 5*10 =50 records
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / varaprasad rayi
Hi Bharath ,
this is question under datastage also if u have any idea please send me
mailid:rayprasad05@gmail.com
Is This Answer Correct ? | 0 Yes | 0 No |
use copy stage and funnel stage to make duplicate records.
SEQ>>COPY>>FUNNEL>>TARGET
the solution for this stupid question asked by interviewer:
SEQ>>COPY>>>4links>>>FUNNEL STAGE>>>SEQ.
in seq stage: sed -n '1,50p'
Is This Answer Correct ? | 0 Yes | 2 No |
hi everbody, i have a problem in my project.. Native Error Code: -407 "Assignment of a null value to a not null column" hi everbody, i have a problem in my project.. Native Error Code: -407 "Assignment of a null value to a not null column" i have no idea, what should i do..please help :(
What are the different plug-ins stages used in your projects?
I have the following columns in the EMP table Empid,Empname,Sal,month(Sal),year(Sal) and DOB(let us say the dob is 15th-Jan-1981) Desing a job such that the output contains the following empname,year(sal),tot(sal) and current age i.e. whether 18yrs or so on
1)How to Duplicate Records Delete in Sequential file?
How many areas for files does datastage have?
Define data aggregation?
i/p 1,a,1000 2,b,2000 3,c,3000 i want to get o/p as o/p 1,a,3000 2,b,4000 3,c,5000 how it can be done on using datastage?
What steps should be taken to improve Datastage jobs?
How many jobs in ur project? Explain any complex job u have done in ur project?
Hai..,This Kiran . how to immlement SCD's through sequential file.please explain briefly.if nt ask me i will explain ,what i know.
How to initialize environment variables?
How do you start developing a datastage project?