DSNU1221I csect-name - UNLDDN IS NOT SPECIFIED OR SPECIFIED TEMPLATE template-name IS INVALID FOR MULTIPLE TABLE SPACES

Explanation

For the UNLOAD utility, the output data set specification 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 UNLDDN option.

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)