ONWSOURCE

ONWSOURCE returns a WIDECHAR string whose value is the contents of the field that was being processed when the CONVERSION condition was 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 a CONVERSION condition.

Read syntax diagramSkip visual syntax diagramONWSOURCE()

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