Class UpdateKsdsRecords


  • public class UpdateKsdsRecords
    extends java.lang.Object
    Sample program that updates records in a VSAM 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 VSAM cluster was created with 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)) 
       
    Since:
    2.4.0
    See Also:
    ZFile
    • Method Summary

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

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

      • UpdateKsdsRecords

        public UpdateKsdsRecords()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateRecords

        public static void updateRecords​(java.lang.String fileName)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception