PL/I · Exception

ONCODE 9: ERROR

What does ONCODE 9: ERROR mean in PL/I?

A SIGNAL ERROR statement was executed, or an unhandled condition of any kind was raised and fell through to the default ERROR handling because no more specific ON-unit was established for it.

ONCODE 9: ERRORIBM Enterprise PL/I for z/OS · PL/I for AIX

Condition

A SIGNAL ERROR statement was executed, or an unhandled condition of any kind was raised and fell through to the default ERROR handling because no more specific ON-unit was established for it.

Fix

Check ONCODE first to see what condition actually triggered this. ONCODE 9 by itself is a catch-all, not a diagnosis; the real cause is almost always a more specific condition that had no ON-unit to catch it.

Pending source verification. Not yet checked against official documentation.

Related exception