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...

) 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


Please Help Members By Posting Answers For Below Questions

Have you ever encountered an error called “depth not equal”?

1160


Explain how abinitio eme is segregated?

1496


Mention what dedup-component and replicate component does?

1043


What are the reasons for which business can trust the approach of data processing?

1185


Describe the process steps you would perform when defragmenting a data table. Does this table contain mission-critical data?

1050


Explain what is sort component in abinitio?

1102


The methods to improve performance of a graph?

1075


Hi friends, what are the new features in abinito3.0?

2804


what is the output when -1 is put in select_expr of FBE?

1406


What exactly do you know about the typical data analysis?

1103


Describe the grant/revoke ddl facility and how it is implemented?

1149


How to move or copy the project parameter or project object to my sandbox?

2308


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?

987


What are the factors on which storage of data depends?

1166


Have you worked with packages?

1212