Can we use DFSORT or SYNCSORT or any other IBM Utility for the following?
I have M records in a VB File. I want to strip the file of its Nth record.
Eg: I have 100 records in a VB file and I want to strip the 7th record. If it is not possible with SORT Utilities, are there any other utilities for doing the above ?
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
are there any other utilities for doing the above ?
If the record to be skipped is fixed, I mean like 7th in your example, adding a sequence number to the records and then skiping that sequence number which you don't want to copy in output or if DFSORT's RRN is available use that.
If this has to to with only some of the records, as an other alternative, open the file in view mode, delete the records you dont want, cut and paste the rest of the records in other DSN.