Initialize KSDS/RRDS
Use the Initialize KSDS/RRDS function (option I) to initialize a VSAM or IAM KSDS or RRDS data set. Initializing the data set writes and then deletes an empty record so that the data set has a non‑zero HIGH‑USED RBA value. This ensures the cluster is ready for further processing.
Initializing a KSDS or RRDS cluster
To initialize a KSDS or RRDS cluster, perform the following steps:
- Enter I in the OPTION field.
- Specify the cluster data set name.
- Set the processing option to O (Online) or B (Batch).
Processing option O (Online)
Press Enter for File‑AID to initialize the data set immediately.
- If the initialization is successful, File‑AID displays the message DATASET INITIALIZED.
- If an error occurs (for example, if the cluster is not empty), File‑AID displays an appropriate error message.
Processing option B (Batch)
- Press Enter for File‑AID to generate JCL to perform a File‑AID Batch VSAMINIT.
The JCL Specification screen appears. - Submit the JCL using the SUB primary command. Alternatively, you can display or edit the JCL using the JCL primary command.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*