PSADSCPY INPUT FILE

Document ID : KB000015173
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

For PSADSCPY does the copy utility gets the input info from the DB2 catalog or the control file?  If from the control file, which one in case of copy of datastore from two different releases and two different control files? 

Answer:

In general all the input comes from the datastore as that is its purpose to copy datastores. The control file used in the process depends on what dataset contains your DTCFPARM member pointed to by the PTIPARM DD card of the batch job for the output file. For the input file, the utility doesn't care or doesn't read the control file for that.