Class ZFileKSDS

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

public class ZFileKSDS extends 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:
  • Constructor Details

    • ZFileKSDS

      public ZFileKSDS()
  • Method Details