) 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 ?    41 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain the performance and scalability of co> operating system?

640


What is sort component in abinitio?

707


What are differences between different versions of co-op?

636


State the working process of decimal_strip function?

1569


What is de-partition in abinitio?

892






What metadata importer can do in ab initio?

705


Define ramp limit in ab initio?

779


What are the different types of partition components in abinitio?

772


Difference between output_index and output_indexes in reformat

759


Whenever we load data into oracle table from staging table using exchange partition...then I read somewhere that data actually doesn't move in this and this command only reset the pointer in the data dictionary...so if data doesn't move then how data is loaded into the main table ? I mean wat is the point of pointer update in data dictionary?

571


Do you know what a local lookup is?

660


What do you know about abinitio?

767


46.How you can create cross joined output using join component ? 47.What is the default layout of watcher files ? How to use in abinitio graph? 48.Why you get 'too many open files' error ? How to use in abinitio graph? 49.What is the significance of vnode folder under AB_WORK_DIR ? How to use in abinitio graph? 50, What is the significance AB_AIR_BRANCH? How to use in abinitio graph? 51. How can you select only unique records from a set of records ? How to use in abinitio graph? 52. How next_in_sequence work in parallel layout ? How to use in abinitio graph? 53. Why you want to set a modest number in limit ? How to use in abinitio graph? 54. How you can encrypt a password and use it in dbc file? How to use in abinitio graph? 55. Which function you should be using if you do not want to process non printable char from a feed file ? How to use in abinitio graph? 56. How you can run a component for certain conditions ? How to use in abinitio graph? 56. What is catalog and when you should use it ? How to use in abinitio graph? 57. How you can use reformat as a router ? How to use in abinitio graph? 58. How many process gets created for a n-way parallel component ? How to use in abinitio graph? 59. Why delimited DMLs take more time to process than fixed length DMLs? How to use in abinitio graph? 60. How can you select only first and last record from a file without using next_in_sequence? How to use in abinitio graph? 61.Why you should always keep largest input as driving input for Join ? How to use in abinitio graph? 62. What a catalog file contains ? How to use in abinitio graph? 63. What Is private project and public project ? How to use in abinitio graph? 64. Why you should not use checkpoint after replicate ? How

5225


What is common among data validity and data integrity?

604


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

627