DSNU1222I csect-name - TEMPLATE template-name SPECIFIED FOR PUNCHDDN IS INVALID FOR MULTIPLE TABLE SPACES

Explanation

For the UNLOAD utility, the specification of output data set to store the generated LOAD statement is invalid when the source objects consist of multiple table spaces.

System action

The utility job terminates.

User response

Include an appropriate TEMPLATE statement in the unload job step that contains the table space name as a variable. If the table space is selected from different databases, the database name must also be included as a variable. Specify the template name to the PUNCHDDN option. The TEMPLATE should be different from the one used for UNLDDN.

Problem determination

When the source objects of the UNLOAD utility consist of multiple table spaces, an output data set corresponding to each table space is required.

Severity

8 (error)