If your data set is small ("small" being a fuzzy term, but somewhere between a thousand and a lakh records), you can use Rexx; for larger data sets, I'd recommend a compiled language.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day