Assume that the changes needed for the year 2000 conversion were more complicated, with calculations for date windowing or converting from a 6-character field to a 12-character field. You can specify either a data exit program or a data service program that performs the conversions. An example command string that calls a data exit program is as follows:
CPYACTF FROMFILE(library-name/file-name) TOFILE(library-name/file-name) DTAEXITPGM(user-library/program-name) CMPLCK(*YES)
An example command string to call a user-supplied data service program is as follows:
CPYACTF FROMFILE(library-name/filename) TOFILE(library-name/file-name) DTASRVPGM(user-library/service-program-name) CMPLCK(*YES)