) Diff.between Output index and Output indexes?
Answer Posted / harika motepalli
Both Output index & output indexes used for "Conditional assignment" of your input data to out ports but the only difference is Output_index allows to assign to only 1 output port whereas Output_indexes allows to assign to multiple output ports.
********************************* Eg 1 **********************************
out::output_index(in)=
begin
out:1:if ( in.country=='Malaysia') 0 ; // if country name is Malaysia then divert input records to out0 port
out:2: if (in.country--'Singapore') 1;
out:: 2;
end;
**************************** Eg 2 **********************
out::output_indexes(in)=
begin
out:1:if ( in.country=='Malaysia') [ vector 0,1] ; // if country name is Malaysia then divert input records to out0 & out1 ports
out:2: if (in.country--'Singapore') [ vector 2 ];
out:: [vector 3 ];
end;
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Have you ever encountered an error called “depth not equal”?
Explain how abinitio eme is segregated?
Mention what dedup-component and replicate component does?
What are the reasons for which business can trust the approach of data processing?
Describe the process steps you would perform when defragmenting a data table. Does this table contain mission-critical data?
Explain what is sort component in abinitio?
The methods to improve performance of a graph?
Hi friends, what are the new features in abinito3.0?
what is the output when -1 is put in select_expr of FBE?
What exactly do you know about the typical data analysis?
Describe the grant/revoke ddl facility and how it is implemented?
How to move or copy the project parameter or project object to my sandbox?
Given input file with single column having 1 2 2 4 3 .. Required output 1 2 2 4 4 4 4 3 3 3.. How?
What are the factors on which storage of data depends?
Have you worked with packages?