We have file having country_name customer_name.For exp
London Ram
Bangalore Rohit
London Shyam
Bangalore Abhinav
In output we need 2 files one file for london and second file for Bangalore.How to acheve this?
Answer Posted / subramanian
Set Count Parameter in Reformat to 2 to create 2 output ports.
Use Output_index parameter in Reformat Component to direct the record with city field having 'London' to one of the port .
Another condition checking city field for 'value 'Bangalore' and direct it to second out port.
count parameter set to 2.
if (field_1 == "London") 0
else
1
Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
What does it mean by the term 'sort component'?
What is a deadlock and how it occurs?
Describe the grant/revoke ddl facility and how it is implemented?
What will be the output when a file with 0 records is connected as input to a reformat and an output file? Note that in reformat we have assigned hardcoded values to output columns.
What is a look-up?
You can ask about different vector functions. How to use in abinitio graph?
What is rollup component?
What is air-project parameter ?
What is the difference between dml expression and xfr expression?
What is a cursor? Within a cursor, how would you update fields on the row just fetched?
What is the importance of eme in abinitio?
Dear all, Please send me the ab initio pdfs and faqs i need... my mail id is rrajesh.intel@gmail.com
List out the file extensions used in abinitio?
Can you explain the co>operating system’s processing model?
Can anyone give me an example of realtime start script in the graph?