PL/I · Exception

ONCODE 150: STRINGSIZE

What does ONCODE 150: STRINGSIZE mean in PL/I?

An assignment truncated a character or bit string because the source was longer than the target's declared maximum length.

ONCODE 150: STRINGSIZEIBM Enterprise PL/I for z/OS · PL/I for AIX

Condition

An assignment truncated a character or bit string because the source was longer than the target's declared maximum length.

Fix

Check the declared length of the target variable against the actual data being assigned. This condition is often left unhandled during development and only surfaces once production data is wider than test data.

Pending source verification. Not yet checked against official documentation.

Related exception