Keys are protected in KSDS file, and you cannot edit them normally. However there are still two ways to edit the key -
1. repeat the record, edit the key of new record and delete the original record.
2. Using PROT OFF command in File-Aid when in FMT mode. This will make the key editable only for the record displayed.