Previous Topic: Update Records Using the Move CommandNext Topic: Out of Sequence Keys


Modify the Key of an Existing Record

The line command K (for key) will unprotect or protect the key so that you can update the key of a VSAM KSDS record. Records that are created by the insert, replace, move, or copy commands default to unprotected.

Any unprotected key remains unprotected until another K command is specified or until the edit session is terminated.