Informix Error -4357: A page trailer has already been specified within this report.
Cause and resolution
A page trailer has already been specified within this report.
Only one PAGE TRAILER control block is allowed in a report. The statements in this control block must be suitable for all pages of the report. Find the other PAGE TRAILER control blocks, and combine all their statements into one control block.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4357 fires when a report has more than one PAGE TRAILER control block — per the official
guidance, only one is allowed, and its statements must suit every page of the report.
- More than one
PAGE TRAILERcontrol block in the same report, per the official guidance — the direct, only cause.
Solutions / Resolution
- Find the other
PAGE TRAILERcontrol blocks, and combine all their statements into one, per the official guidance.
Examples
Duplicate PAGE TRAILER blocks
OUTPUT
PAGE TRAILER
PRINT "Footer line 1"
PAGE TRAILER
PRINT "Footer line 2"
-- -4357: only one PAGE TRAILER block is allowed
Corrected
OUTPUT
PAGE TRAILER
PRINT "Footer line 1"
PRINT "Footer line 2"
Diagnostic Checks
- Check the report for more than one
PAGE TRAILERcontrol block, and combine them.
Related Errors / Related Topics
- -4356 — "A page header has already been specified within this report." The equivalent
restriction applied to
PAGE HEADERinstead ofPAGE TRAILER. - -4358 — "A first page header has already been specified within this report." The
equivalent restriction applied to
FIRST PAGE HEADERinstead ofPAGE TRAILER.
A report has more than one PAGE TRAILER control block — combine them into one.