Editing Data Sets › Edit VSAM KSDS Files › Working with VSAM Keys › SAVE Command
When the SAVE command is issued, if there are key sequence errors, the SORT KEY command is performed before saving the file.