Informix Error -8113: SKIP TO TOP OF PAGE is not allowed in any header or trailer clause.
Cause and resolution
SKIP TO TOP OF PAGE is not allowed in any header or trailer clause.
When SKIP TO TOP OF PAGE is executed, the page-trailer clause must be executed (to display fixed page-end material), followed by the page-header clause. If the statement was allowed in a header or trailer clause, an infinite loop could ensue.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-8113 fires when SKIP TO TOP OF PAGE is used inside a header or trailer clause — per the
official guidance, executing it would require running the trailer then the header again,
which could cause an infinite loop if issued from within one of those clauses.
SKIP TO TOP OF PAGEused inside a header or trailer clause, per the official guidance — the direct, only cause.
Solutions / Resolution
- Remove
SKIP TO TOP OF PAGEfrom the header/trailer clause, since it can only be used in the detail (row-processing) sections.
Examples
N/A
No specific triggering statement is documented beyond SKIP TO TOP OF PAGE used inside a
header/trailer clause.
Diagnostic Checks
- Check header/trailer clauses for
SKIP TO TOP OF PAGE, and move it to the detail section if needed.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -8113 in this set yet.
SKIP TO TOP OF PAGE is used inside a header/trailer clause, which could cause an infinite
loop — it's only valid in the detail section.