com.ibm.jzos.sample
Class ZFilePrint

java.lang.Object
  extended by 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
ZFilePrint()
           
 
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

ZFilePrint

public ZFilePrint()
Method Detail

main

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