

Editing Data Sets › Edit VSAM KSDS Files › Working with VSAM Keys › Repeating VSAM Keyed Records
Repeating VSAM Keyed Records
You can create VSAM keyed records using the repeat command.
Follow these steps:
- Type R on the command line of the Select Member to Process screen.
Note the following:
- The new line appears below the original line with the same key, data, and length as the original line.
- The key of the line created by the repeat is unprotected.
- The line number contains the message DUP=> to indicate that the repeated line has a duplicate key and an error message is returned.
- Update the key value.
Note the following:
- The record with the updated key remains where it is, even if it is now out of sequence.
- If the new key value is a duplicate, DUP=> displays in the line number area.
- Modify the record length if necessary by using the V line command.
Copyright © 2015 CA Technologies.
All rights reserved.
 
|
|