Joined: 03 Feb 2006 Posts: 2 Location: Chennai,India
I want to perform the following op/n.
A file contains an amount and a date stored in packed format (E.g. shown below)
which corresponds to an amount of 23,000 and a date of 11-10-2005
i) First sort the input file based on the date and then convert the data into readable format in the output file.
ii) The amount field should have ?,? and the date should have ?-? as separators.
iii) The two fields should be separated by 5 spaces.