Default language.

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.

Warning
Important

This function is available only for an uninitialized KSDS or RRDS data set.

Initializing a KSDS or RRDS cluster

To initialize a KSDS or RRDS cluster, perform the following steps:

  1. Enter I in the OPTION field.
  2. Specify the cluster data set name.
  3. 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)

  1. Press Enter for File‑AID to generate JCL to perform a File‑AID Batch VSAMINIT.
    The JCL Specification screen appears.
  2. Submit the JCL using the SUB primary command. Alternatively, you can display or edit the JCL using the JCL primary command.
Warning
Important

For this function, processing options (Batch) and I (Batch IDCAMS) behave the same.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI DevX File-AID/MVS 23.01