Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

ONCHAR

ONCHAR returns a character(1) string containing the character that caused the CONVERSION condition to be raised. It is in context in an ON-unit (or any of its dynamic descendants) for the CONVERSION condition or for the ERROR or FINISH condition raised as the implicit action for the CONVERSION condition.

Read syntax diagramSkip visual syntax diagram>>-ONCHAR-+----+-----------------------------------------------><
          '-()-'
 

If the ONCHAR built-in function is used out of context, a blank is returned.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)