NBSpool for MPE Reference Guide
Banner Maintenance
6-5
The templates are used in series. If the templates are defined as above, and the name of the report
specified in the
BANNER command is GLDLRPT.JOHN.MGR.PROD.LP, then:
1. First, the banner function searches the database for a report named
GLDLRPT.JOHN.MGR.PROD.LP.
2. Second (if the above name is not found), it searches for
GLDLRPT.@.MGR.PROD.@.
3. Third (if the above name is not found), it searches for
GLDLRPT.@.@.@.@.
4. Fourth (if the above name is not found), it searches for
@.@.@.@.@
.
The
BANNER database is created with a default report of
@.@.@.@.@
. This is useful at the start, but
if the user’s report is not defined correctly, or it does not match one of the search templates, the
BANNER command will bannerize the report using the default report of
@.@.@.@.@
.
For instance, if a report is defined in the database as
GLDLRPT.GENLEDG.@.@.@
, and the spool file
specified in the banner command is
GLDLRPT.GENLEDG.MGR.PROD.@
, the above search templates
would create a banner using the default report. The
BANNER command cannot find the report
defined for that spool file unless the following search template is added to the search sequence:
‘F@@@@’
‘FJ@@@’
‘@@@@@’
When defining a report, always make sure that the Report Search Sequence field includes a
template that matches the report.