Start of change

ONEXPECTED

ONEXPECTED returns a nonvarying character string whose value is the "expected" value of an ASSERT COMPARE statement that raised the ASSERTION condition. If the expression has GRAPHIC or WIDECHAR type, a null string is returned.

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

It is in context in an ON-unit for the ASSERTION condition, or for the ERROR or FINISH condition raised as the implicit action for an ASSERTION condition.

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

End of change