I execute a CPYTOSTMF to copy a library/file/mbr to a folder on the IFS. eg /mydir tstfile.txt
The command completes with no errors. I look in "mydir" for the file and nothing is there. I execute the command a second time and there is an error "Stream file exists".
So where on earth is my file going or why is it not visible in OpsNav or similar when view the directory ?! I've looked in the "root" and my "home" directory and it's not there. My job log states that it attempts to copy file to "mydir".
It is so frustrating that what should be a simple file copy function is so cryptic.
The command completes with no errors. I look in "mydir" for the file and nothing is there. I execute the command a second time and there is an error "Stream file exists".
So where on earth is my file going or why is it not visible in OpsNav or similar when view the directory ?! I've looked in the "root" and my "home" directory and it's not there. My job log states that it attempts to copy file to "mydir".
It is so frustrating that what should be a simple file copy function is so cryptic.
Comment