) 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
Explain the difference between the truncate and delete commands?
What happens when we provide null key to sort, merge and pbks in Abinitio ?
Describe the process steps you would perform when defragmenting a data table. Does this table contain mission-critical data?
Explain what is de-partition in abinitio?
We know rollup component in abinitio is used to summarize group of data record then why do we use aggregation?
What do you understand by overflow errors?
How can a graph be run infinitely?
What do you mean by a transaction file and how it is different from that of a sort file?
List out the file extensions used in abinitio?
What is de-partition in abinitio?
What do you mean by a transaction file?
How do you add default rules in transformer?
What is rollup component?
How would you find out whether a sql query is using the indices you expect?
When using multiple dml statements to perform a single unit of work, is it preferable to use implicit or explicit transactions, and why?