PL/I · Exception

ONCODE 612: CONVERSION

What does ONCODE 612: CONVERSION mean in PL/I?

A data conversion failed, most often a CHARACTER value that could not be converted to the arithmetic or bit-string type the receiving field requires.

ONCODE 612: CONVERSIONIBM Enterprise PL/I for z/OS · PL/I for AIX

Condition

A data conversion failed, most often a CHARACTER value that could not be converted to the arithmetic or bit-string type the receiving field requires.

Fix

Check the actual content of the source field for non-numeric or otherwise invalid characters before conversion, particularly for data coming from an external file or user input rather than another PL/I variable.

Related exception