Is there an option in CPYF to force a file to copy even if it is empty?
Announcement
Collapse
No announcement yet.
Force Copy
Collapse
X
-
Re: Force Copy
Below is my copy command running in my CL. When I run my CL, based on the data in the files, I do not know if the file I am coping is empty or not. If I run my CL more than once with the same CL, the copy command errors out saying empty member not copied. Just want the error to go away and copy the file if it has data or not.
CPYF FROMFILE(COAF010) TOFILE(TICKET/SVCOA40101) MBROPT(*REPLACE) CRTFILE(*YES)
Comment
-
Re: Force Copy
Here's a follow-up to the article I mentioned:
http://www.itjungle.com/fhg/fhg030211-story02.html
Comment
Comment