Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.ibm.jzos.sample
Class FileFactoryCopy

    java.lang.Object
      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:

- /etc/profile
- //DD:INPUT
- //'SYS1.MACLIB(ABEND)'
- //MY.DATASET

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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD