com.ibm.jzos.sample
Class FileFactoryCopy

java.lang.Object
  extended by com.ibm.jzos.sample.FileFactoryCopy

public class FileFactoryCopy
extends java.lang.Object

Sample program that uses the FileFactory class to copy a text file or dataset. The input and output file names are given as arguments to main, and they main be either POSIX (HFS) file names or MVS dataset names.

If the target file is an MVS dataset, then its LRECL should be compatible with the source file/dataset.

Example file names:

See Also:
FileFactory

Constructor Summary
FileFactoryCopy()
           
 
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

FileFactoryCopy

public FileFactoryCopy()
Method Detail

main

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