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?

Answers were Sorted based on User's Feedback



) Diff.between Output index and Output indexes?..

Answer / 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

) Diff.between Output index and Output indexes?..

Answer / chiranjiv pandey

When we use output index, a single record can go only single
port but in case of output indexes one record can go one or
more that one port.

Is This Answer Correct ?    41 Yes 0 No

) Diff.between Output index and Output indexes?..

Answer / 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

) Diff.between Output index and Output indexes?..

Answer / sasi

When we use output index in reformat having multiple output
ports it decides through which port the output goes...
In case of output indexes the output goes through all the
ports..

Is This Answer Correct ?    12 Yes 15 No

Post New Answer

More Ab Initio Interview Questions

How to Create Surrogate Key using Ab Initio?

6 Answers   IBM,


Can any body give me the clear explanation about how to separate header,trailer and body records in Ab Initio?

2 Answers   TCS, Wipro,


What is the language used in Ab Initio ?

4 Answers  


Why creation of temporary files depends on the value of MAX CORE ? How to use in abinitio graph? 10. What is the diff between abinitiorc and .abinitiorc files ? How to use in abinitio graph? 11. What is the use of allocate()? How to use in abinitio graph? 12. What is use of branch in EME ? 13. How you can break a lock in EME ? How can you lock a file so that only no one other than EME admin can break it ? How to use in abinitio graph? 14. When you should be using ablocal() ? How you can use ablocal_expr? How to use in abinitio graph? 15. Why you should not keep the layout as 'default' for input table component ? How to use in abinitio graph? 16. What is dynamic lookup ? How to use in abinitio graph? 17. What is dependent parameter ? How to use in abinitio graph? 18. What is BRE ? (Business Rule Environment - This is a recent addition in abinitio package) How to use in abinitio graph? 19.What is output index ? How to use in abinitio graph? 20. How you can track the records those are not getting selected from ‘select’ in reformat component ? How to use in abinitio graph? 21. Can we have more than one launcher process for a particular graph ? How about agent ? How to use in abinitio graph? 22. There are lot of new fuctions added in 2.15 , you can ask about them ? How to use in abinitio graph? 23. How can you run multiple instances of a graph in parallel? How to use

0 Answers   Wipro,


11. What is the use of allocate()?

1 Answers   TCL,


What are Cartesian joins?

3 Answers  


Difference between public and private projects and how to make private to public?

1 Answers  


Do you think effective communication is necessary for data processing? What is your strength in terms of same?

0 Answers  


What a local lookup is?

0 Answers  


Hi friends, I have 100 records in my input file, if i run first,the first 10 records are stored into the output and if i run second time next 10 records stored into the output file like that please let me know the answer Thanks, krishna

5 Answers   CTS,


What metadata importer can do in ab initio?

0 Answers  


How to execute the graph from start to end stages? Tell me and how to run graph in non-Abinitio system?

0 Answers  


Categories