java.lang.Object
com.ibm.jzos.sample.FileFactoryCopy
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:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileFactoryCopy
public FileFactoryCopy()
-
-
Method Details
-
main
- Throws:
IOException
-