Copy files that contain user-defined functions

You can specify CRTFILE(*YES) on the CPYF and CPYFRMQRYF commands when you copy files that contain user-defined functions (UDFs). UDFs do not get created with the new to-file.

You cannot copy DDM files that contain user-defined functions to iSeries™ servers.

Related information
CPYF command
CPYFRMQRYF command