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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!