Command to Copy File b from library a to library c in IBMi
Command to Copy File b from library a to library c in IBMi
In IBMi operating system to copy file b from library a to library c there are two ways;
[ Copy file directly between libraries ]
CPYF FROMFILE(a/b) TOFILE(c/b)
[ Create a Duplicate for the file of interest ]
CRTDUPOBJ OBJ(b) FROMLIB(a) OBJTYPE(*FILE) TOLIB(c) NEWOBJ(*SAME) DATA(*YES)
Command to Copy File b from library a to library c in IBMi
IBMi | thetqweb