The report-name that you have specified should contain all of the following:
- A CONTROL clause
- Only one DETAIL report group
- At least one body group.
Resolution:
Click related topics for details of the contents you require for a report-name when it is used in a GENERATE statement.