Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`ZFileKSDS()`

Method Summary
`static void` | `main(java.lang.String[] args)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD