Previous Topic: SAVE CommandNext Topic: Utility Functions


Edit a VSAM Base Cluster in Alternate Key Sequence

When you edit a VSAM base cluster in alternate key sequence, the records are initially displayed in alternate key sequence for the specified PATH. During the edit session, duplicate key handling, inserting, copying, and repeating of records are handled the same as when editing a base cluster. However, base cluster key sequence checking is suspended.

If you execute a SORT KEY command, the base cluster records are displayed in base cluster key sequence. You can resequence the file in alternate key sequence by specifying the SORT fcol lcol command and specifying the first and last columns of the alternate key.