Actually, I am generating a VB file which will contain around 200k records. To review the file data with table data, i need to know the Sum of the amount fields. I thought SORT will be an easier way to achieve the Total amounts. The whole process is not for production, only to review Test/QA data.
When i went thru the SORT cards I learnt PARSE function, so it got more interesting when i tested and got the result.... :-)