Class DeleteKsdsCluster

java.lang.Object
com.ibm.jzos.sample.vsam.cluster.DeleteKsdsCluster

public class DeleteKsdsCluster extends Object
This sample deletes the VSAM KSDS cluster created by DefineKsdsCluster. The argument to main must be a valid dataset name created for use with the sample code. This same operation can be performed using JCL by calling the IDCAMS system utility.

For example, given the following valid dataset name:
  • TSOUSER.PRIVATE.JZOS.SAMPLES.KSDS
This sample will delete:
  • TSOUSER.PRIVATE.JZOS.SAMPLES.KSDS
  • TSOUSER.PRIVATE.JZOS.SAMPLES.KSDS.DATA
  • TSOUSER.PRIVATE.JZOS.SAMPLES.KSDS.INDEX
Since:
2.4.0
See Also:
  • Constructor Details

    • DeleteKsdsCluster

      public DeleteKsdsCluster()
  • Method Details

    • main

      public static void main(String[] args)
    • deleteCluster

      public static void deleteCluster(String dsname)