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.dfsort
Class DfSortVariableDatasetToJava

    java.lang.Object
      com.ibm.jzos.sample.dfsort.DfSortVariableDatasetToJava

    public class DfSortVariableDatasetToJava

extends java.lang.Object

This example creates an instance of `DfSort` to sort an existing Dataset and read the sort output.

Arguments (supplied as key=value pairs):

sortin=<dsn>
  The name of a RECFM=F dataset to sort. Supplied to DFSORT as SORTIN.
[encoding=<codepage>]
  The character set of the SORTIN dataset. If not supplied, binary data is assumed.
[shareas=<yes | no>]
  Determines that address space for DFSORT. If yes, DFSORT will run in the same address space as the JVM. If no, it will run in a separate address space.

Features illustrated:

- Specify an existing RECFM=V existing dataset as input (SORTIN) to DFSORT
- Sort the records in Ascending order

Constructor Summary
`DfSortVariableDatasetToJava()`

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

### DfSortVariableDatasetToJava

    public DfSortVariableDatasetToJava()

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