Hi,
I am new to JZOS and trying to execute few sample programs like Failfactorycopy... I was able to copy the file from HFS to HFS..
The argument I gave was:
ARGS='/SYSTEM/tmp/test1 /SYSTEM/tmp/test2'
The above one works fine... but when I try to copy from MVS dataset to another, it doesn't. It gives 'File not found exception error'... The arguments in this case:
ARGS='HIGHLE.TEST.DUMMY1 HIGHLE.TEST.DUMMY2'
I also tried...
ARGS='//HIGHLE.TEST.DUMMY1 //HIGHLE.TEST.DUMMY2'
ARGS='DD://INPUT DD://OUTPUT'
which did not help... Please let me know if I need to set or do something.
FileFactorycopy - file not found exception
-
- Posts: 2
- Joined: Mon Apr 28, 2008 5:45 pm
- Location: India
Using the syntax for dataset names, the name must be enclosed in single quotes. Otherwise, the current userid is automatically prefixed as the high-level qualifier. See the javadoc for ZFile and the C-library documentation for fopen() for more information.
So you would probably need something like:
ARGS='//''HIGHLE.TEST.DUMMY1'' //''HIGHLE.TEST.DUMMY2'''
(all single quotes above)
So you would probably need something like:
ARGS='//''HIGHLE.TEST.DUMMY1'' //''HIGHLE.TEST.DUMMY2'''
(all single quotes above)
-
- Posts: 2
- Joined: Mon Apr 28, 2008 5:45 pm
- Location: India