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 / suman sv

Use output-index when we want to direct a single record to a single transform-output port.
Ex: suppose there are 100 input records and two output ports.
According to the transform function you specify for output-index, the split can be 50/50, 60/40, 0/100, 99/1, or any other combination that adds up to 100.

Use output-indexes to direct a single record to multiple transform-output ports.
Ex: out :: output_indexes(in) =
begin
out :1: if (in.kind == "a") [vector 0, 1, 2];
out :2: if (in.kind == "b") [vector 2, 3, 4];
out : : [vector 5];
end;
it directs records as:
Ports 0, 1, and 2 if the field in.kind is “a”
Ports 2, 3, and 4 if the field in.kind is “b”
Port 5 if otherwise

Is This Answer Correct ?    43 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many components in your most complicated graph?

1304


What is a look-up?

1269


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

2805


How to find the project(pub,priv,common,client) in between public, Private,common?Any identification?

2113


What is a cursor? Within a cursor, how would you update fields on the row just fetched?

1187


What is sandbox?

1220


What is the difference between dml expression and xfr expression?

1101


I installed AbInito in my PC.In components there is no "select" component.How can i get that component?and How we can create user defined components?

2066


What is the difference between rollup and scan?

1878


What are the operations that support avoiding duplicate record?

1451


Input A 100 NUll A NUll 200 B 100 Null B Null 300 Output A 100 200 B 100 300 Do this using Ab initio

1754


What are the types of data processing you are familiar with?

1219


Mention what is a partition and what are the different types of partition components in abinitio?

1186


Can sorting and storing be done through single software or you need different for these approaches?

1125


State the working process of decimal_strip function?

2163