Dynamic output files
Posted: Sun Dec 06, 2009 12:20 am
Hi,
I have a data file which has output like following
abc20091011
abc20091011
abc20091111
abc20091111
xyz20091011
xyz20090909
I need separate files for abc20091011, abc200911, xyz20090909 and so on. Problem is the output is dynamic. It could have any number of records. Right now I have 4 unique data but it will change to maybe 20 in my next run. So for each unique record I need separate file. How can I handle this?
I have a data file which has output like following
abc20091011
abc20091011
abc20091111
abc20091111
xyz20091011
xyz20090909
I need separate files for abc20091011, abc200911, xyz20090909 and so on. Problem is the output is dynamic. It could have any number of records. Right now I have 4 unique data but it will change to maybe 20 in my next run. So for each unique record I need separate file. How can I handle this?