Delete duplicate records
Posted: Wed Jul 30, 2008 5:07 pm
How can I delete duplicate records from a file using REXX? Actually I am writing a file using REXX code which also has duplicate entries which I need to delete.
Input file:
M1428888 C37ONL OLD
M1425555 C37ONL NEW
M1428888 C37ONL MOD
M1428888 C37ONL OLD
Output file should look like:
M1428888 C37ONL OLD
M1425555 C37ONL NEW
M1428888 C37ONL MOD
thanks,
Shivendu
Input file:
M1428888 C37ONL OLD
M1425555 C37ONL NEW
M1428888 C37ONL MOD
M1428888 C37ONL OLD
Output file should look like:
M1428888 C37ONL OLD
M1425555 C37ONL NEW
M1428888 C37ONL MOD
thanks,
Shivendu