Informix Error -4358: A first page header has already been specified within this report.
Cause and resolution
A first page header has already been specified within this report.
Only one FIRST PAGE HEADER control block is allowed in a report. (After all, only one first page exists.) Find the other FIRST PAGE HEADER control blocks, and combine all their statements into one control block.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4358 fires when a report has more than one FIRST PAGE HEADER control block — per the
official guidance, only one is allowed, since only one first page can exist.
- More than one
FIRST PAGE HEADERcontrol block in the same report, per the official guidance — the direct, only cause.
Solutions / Resolution
- Find the other
FIRST PAGE HEADERcontrol blocks, and combine all their statements into one, per the official guidance.
Examples
Duplicate FIRST PAGE HEADER blocks
OUTPUT
FIRST PAGE HEADER
PRINT "Title line 1"
FIRST PAGE HEADER
PRINT "Title line 2"
-- -4358: only one FIRST PAGE HEADER block is allowed
Corrected
OUTPUT
FIRST PAGE HEADER
PRINT "Title line 1"
PRINT "Title line 2"
Diagnostic Checks
- Check the report for more than one
FIRST PAGE HEADERcontrol 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 ofFIRST PAGE HEADER. - -4357 — "A page trailer has already been specified within this report." The equivalent
restriction applied to
PAGE TRAILERinstead ofFIRST PAGE HEADER.
A report has more than one FIRST PAGE HEADER control block — combine them into one.