Class DfSortFixedDatasetToFixedDataset


  • public class DfSortFixedDatasetToFixedDataset
    extends java.lang.Object
    This example creates an instance of DfSort to sort an existing Dataset and write the result to an existing dataset.

    Arguments (supplied as key=value pairs):

    sortin=<dsn>
    The name of a RECFM=F dataset to sort. Supplied to DFSORT as SORTIN.
    sortout=<dsn>
    The name of a RECFM=F dataset to receive the sorted data. Supplied to DFSORT as SORTOUT.
    [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.

    Features illustrated:

    • Specify an existing RECFM=F existing dataset as input (SORTIN) to DFSORT
    • Specify an existing RECFM=F existing dataset as output (SORTOUT) to DFSORT
    • Sort the records in Ascending order
    • Method Summary

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

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

      • DfSortFixedDatasetToFixedDataset

        public DfSortFixedDatasetToFixedDataset()
    • Method Detail

      • main

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