Expanded Rollup in Abinitio


Watch my YouTube video for explanation :





Please look into the class notes here for your references:

Expanded Rollup Example

out::input_select()=
begin
out::if(in.regeion=='EMEA');
end;

out::key_change(in1,in2)=
begin

out::if(in1.work_date>in2.work_date)

end;

type temporary_type=
record
decimal("") count;
end;

temp::initialize(in)=
begin
temp.count::0;
end;

out::rollup(temp,in)=
begin

out.count::temp.count+1;

end;


out::finalize(temp,in)=
begin
out.id::in.id;
out.work_date::in.work_date;
out.count::temp.count;

end;

out::output_select(in)=
begin
out::if(in.count>4);

end;

out::output_without_input()=
begin
out.count::0;
end;

parameter called output_without_input 
[At component Shutdown, At each checkpoint, At each computepoint,Never]


output_at_event();
output_for_error(),
make_error();
log_error();
final_log_output();

----------------------------------------------------------------------


Fore more Abinitio, AWS and data engineering videos please subscribe , view , like and share my YouTube channel 

Click DataPundit

Comments

Popular posts from this blog

Abinitio Interview Question # 1 - Write Multiple Files in Abinitio

Next In Sequence in ABinitio | How next_in_sequence() works in MFS