- 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
Constructors Constructor Description FileFactoryCopy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-