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

ONLOC

ONLOC returns a character string whose value is the name of the entry-point used for the current invocation of the procedure in which a condition was raised.

ONLOC always returns the leftmost name of a multiple label specification, regardless of which name appears in the CALL or GOTO statement.

If the name is a DBCS name, it is returned as a mixed-character string. It is in context in any ON-unit, or in any of its dynamic descendants.

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

If ONLOC is used out of context, a null string is returned.


Terms of use | Feedback

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