ERASE or PURGE VSAM data set
- This command will copy all records with key values ranging from 100000 to 500000.
- The range can also be generic (Eg. FROMKEY (10) TOKEY(50)). This will copy all records in input file with 10 as the first two bytes of the key through the records having 33 as the first two bytes of the key.