com.ibm.jzos.sample.vsam.cluster

Class DefineKsdsCluster

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


  • public class DefineKsdsCluster
    extends java.lang.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:
    AccessMethodServices
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String VSAM_VOLUME 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void defineCluster(java.lang.String dsname) 
      static void main(java.lang.String[] args) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefineKsdsCluster

        public DefineKsdsCluster()
    • Method Detail

      • main

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

        public static void defineCluster(java.lang.String dsname)
� Copyright IBM Corporation 2005, 2022.