Class DefineKsdsCluster

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

public class DefineKsdsCluster extends Object
This sample allows the creation of a VSAM cluster. The argument to main is a valid dataset name. The 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 create:
  • TSOUSER.PRIVATE.JZOS.SAMPLES.KSDS
  • TSOUSER.PRIVATE.JZOS.SAMPLES.KSDS.DATA
  • TSOUSER.PRIVATE.JZOS.SAMPLES.KSDS.INDEX
Since:
2.4.0
See Also:
  • Field Details

  • Constructor Details

    • DefineKsdsCluster

      public DefineKsdsCluster()
  • Method Details

    • main

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

      public static void defineCluster(String dsname)