DBUNBRACKET

Read syntax diagramSkip visual syntax diagram
>>-DBUNBRACKET--(--string--)-----------------------------------><

In EBCDIC, removes the SO and SI brackets from a DBCS-only string enclosed by SO and SI brackets. If the string is not bracketed, a SYNTAX error results.
Here are some EBCDIC examples:
DBUNBRACKET('<.A.B>')      ->    '.A.B'
DBUNBRACKET('ab<.A>')      ->    SYNTAX error


unbr.html | Timestamp icon Last updated: Monday, 5 June 2017