Is it possible to image copy multiple DBDSGRPs in one batch step?

book

Article ID: 145280

calendar_today

Updated On:

Products

CA Database Copier for IMS for z/OS

Issue/Introduction

How can you specify and copy multiple DBDSGRP in one batch step? For example:

//DBOCTRL DD *
FUNCTION=COPY,
DBDSGRP=(dbdsgrp1,dbdsgrp2),
DBRC=YES

Or

//DBOCTRL DD *
FUNCTION=COPY,
DBDSGRP=dbdsgrp1,
DBDSGRP=dbdsgrp2,
DBRC=YES

Neither of the above work. Is this possible?

Resolution

The only way to specify multiple DBDSGRP statements in a single step is to specify multiple FUNCTION=COPY statements as follows:

//DBOCTRL DD *
FUNCTION=COPY,
DBDSGRP= dbdsgrp1 ,
DBRC=YES
FUNCTION=COPY,
DBDSGRP=dbdsgrp2,
DBRC=YES


We do not support the following:

You cannot specify more than one DBDSGRP statement per FUNCTION statement.

You cannot specify more than one DBDS group in the DBDSGRP statement.