Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to prepare scd2 in abinitio



how to prepare scd2 in abinitio..

Answer / anonymous

we can implement scd2 using the below scenario in abinitio:-
1. take 2 tables as your input first would be your today's file that is in0 second be your previous file that would be in1.
2. take the inner join of both the tables on the matching key say cust_id, and in the out port of the dml make it embedded and do the naming convention by adding the suffix _new for the today's file and _old for the prev day file data records so to make it easier to understand the data fields.
3. In the join components, unused 0 will give you inserted records(that would come from today's file), and unused 1(that would come from yesterday's file) will give you deleted records.
4. take a reformat connecting the join output port and check:
if ( _new != _old) (these are the suffix we have given in the dml output port coming from the join component), force error it from the reject port of reformat those will be your updated records and you will get the unchanged records from the output port of reformat.
5. combine all the inserted records from join unused 0, updated records from reject port of reformat and unchanged records from out port of reformat and load all of them into the delta table.

this would complete the scd type 2 execution in abinitio.

Is This Answer Correct ?    16 Yes 0 No

Post New Answer

More Ab Initio Interview Questions

Explain what does dependency analysis mean in abinitio?

0 Answers  


What is air_project_parameters and air_sandbox_overrides? what is the relation between them?

1 Answers   IBM,


Explain batch processing in ab initio?

0 Answers  


EmpId RollNo RollNo2 A t1 se A1 se tm i want output as A Emp A TL A1 SE etc how i can get output please send me your answer

3 Answers   Accenture,


What does de-partition mean in abinitio?

0 Answers  


Pdl with an example?

0 Answers  


I wanted to learn Ab Initio, Could you please send the material to my personal email id.

2 Answers  


Which component breaks the pipe line parallelism in graph?

3 Answers   Wells Fargo,


What exactly do you understand with the term data processing and businesses can trust this approach?

0 Answers  


) How can you count the total no .of records in the specified partition in the Multifile?

5 Answers  


What is dependent parameter ?

1 Answers   HCL,


Explain how abinitio eme is segregated?

0 Answers  


Categories