com.ibm.jzos.sample

Class ZFilePrint

  • java.lang.Object
    • com.ibm.jzos.sample.ZFilePrint


  • public class ZFilePrint
    extends java.lang.Object
    Sample program that prints an EBCDIC MVS dataset pointed to by //INPUT DD to System.out (stdout).

    The dataset is opened using the ZFile class in record mode. Note that "noseek" is used so that the file is opened in sequential mode, which dramatically increases I/O performance.

    See Also:
    ZFile
    • Constructor Summary

      Constructors 
      Constructor and Description
      ZFilePrint() 
    • Method Summary

      Methods 
      Modifier and Type Method and 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

      • ZFilePrint

        public ZFilePrint()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
© Copyright IBM Corporation 2005, 2014.