com.ibm.jzos.sample

Class ZFileKSDS

  • java.lang.Object
    • com.ibm.jzos.sample.ZFileKSDS


  • public class ZFileKSDS
    extends java.lang.Object
    Sample program that inserts, updates, locates, and deletes records in a VSAM KSDS using ZFile.

    Refer to the C++ Programmer's guide for more information on processing VSAM files with the C library. This sample assumes that the //KSDS DD points to a VSAM cluster that was created something like this:

    
       DEFINE CLUSTER - 
          (NAME(SOMENAME.CLUSTER) - 
          TRK(4 4) - 
          RECSZ(80 80) - 
          INDEXED - 
          NOREUSE - 
          KEYS(8 0) - 
          OWNER(YYYYYY) ) - 
        DATA - 
          (NAME(SOMENAME.KSDS.DA)) - 
        INDEX - 
          (NAME(SOMENAME.KSDS.IX)) 
       
    See Also:
    ZFile
    • Constructor Summary

      Constructors 
      Constructor and Description
      ZFileKSDS() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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

      • ZFileKSDS

        public ZFileKSDS()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
© Copyright IBM Corporation 2005, 2014.