Output image copy data sets

The Image Copy function and the Create Image Copy function support dynamic allocation of output image copy data sets.

If the ICDALLOC=Y parameter is specified (either explicitly or by default), the output image copy data sets can be dynamically allocated by IMS HP Image Copy.

The output type can be selected with the ICOUT and the STACK keywords. Either the ICOUT or the STACK keyword is required for dynamic allocation.

Attention: Oldest GDG data set might be deleted

IMS HP Image Copy does not support the DELETE subparameter of the z/OS® DISP parameter. The DELETE subparameter of the z/OS DISP parameter is one of the abnormal termination (conditional) disposition subparameters that deletes data sets when a job or process ends abnormally. Therefore, once the output image copy data sets are dynamically allocated in an IMS HP Image Copy job, the allocated output image copy data sets remain regardless whether the job ends successfully or ends abnormally without successfully creating image copies. If the output image copy data sets are allocated as generation data sets (GDS) of generation data group (GDG) and if the maximum allowable number of active generation data sets is reached by the latest output image copy data set that IMS HP Image Copy dynamically allocated—regardless whether the data set is a successful image copy data set or incomplete image copy data set—the oldest generation data set in the GDG is uncataloged and deleted.