java.lang.Object
com.ibm.jzos.sample.dfsort.DfSortVariableJavaToDataset
This example creates an instance of
DfSort
to sort variable record data
generated by java and store the output in a Dataset.
Arguments (supplied as key=value pairs):
- sortout=<dsn>
- The name of a RECFM=V dataset to receive the sorted data. Supplied to DFSORT as SORTOUT.
- numrecs=<nn>
- The number of records to generate.
- [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.
- [loglevel=<n>]
- Sets the logging level for the child process and prints the resulting child process output is written to System.err. The valid levels are those defined in the ZUtil.LOG_* constants.
Concepts illustrated:
- Generate unsorted variable length record data in Java
- Write these records on-the-fly to DFSORT.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DfSortVariableJavaToDataset
public DfSortVariableJavaToDataset()
-
-
Method Details
-
main
- Throws:
Exception
-