I have a file in a folder on the IFS -we will call the folder MYFILES and the file is FILEA.
I want to copy a duplicate of the file to folder YOURFILES with the name FILEA.
The command is:
CPY OBJ('/MYFILES/FILEA.csv') TOOBJ('YOURFILES/FILEA.csv') REPLACE(*YES)
I get the following error: CPFA0A9 Object not found. Object is YOURFILES/FILEA.csv.
Both folders exist in the root directory of the IFS an FILEA.csv is in folder MYFILES.
December 9, 2008 10:05 PM
December 10, 2008 10:29 AM