) 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
What is air-project parameter ?
How to convert a single column values 1 2 3 4 to single row of 4 columns ? And vice-versa
What is local and formal parameter?
can any one help me now i am learning AB Inito but i don't have material and pdf's can any one provide pdf's to this mail id mohanraju0113@gmail.com thanks in advance...................................
Runtime behavior of Normalize and Reformat
What are the operations that support avoiding duplicate record?
How data is processed and what are the fundamentals of this approach?
Can you explain the performance and scalability of co> operating system?
What is ab initio enterprise meta>environment (eme)?
What is a cursor? Within a cursor, how would you update fields on the row just fetched?
How can you export a component’s internal parameters ?
What is a rollup component?
What is brodcasting and replicate?
What is common among data validity and data integrity?
Explain about ab initio’s dependency analysis?