Avoid an Unnecessary CPYF Error
September 8, 2010 Ted Holt
Hey, IBM i Professional: I’ve heard it said that it’s the little things that kill you. Maybe so. I am certain that little errors in computer programs can ruin a good night’s sleep. Today’s tip is an easy one that I’ve published before, but not in this newsletter. I’m running it today because an FHG reader recently told me that this simple, easily avoided error had occurred in the shop where she works. Everyone who writes CL programs needs to know this one. The malfunctioning program had a Copy File (CPYF) command that looked like this: CPYF FROMFILE(AAA) TOFILE(BBB) MBROPT(*REPLACE) |