DBBRACKET

In EBCDIC, DBBRACKET adds SO and SI brackets to a DBCS-only string.

Read syntax diagramSkip visual syntax diagram DBBRACKET ( string )

If string is not a DBCS-only string, a SYNTAX error results. That is, the input string must be an even number of bytes in length and each byte must be a valid DBCS value.

EBCDIC examples

DBBRACKET('.A.B')      ->    '<.A.B>'
DBBRACKET('abc')       ->    SYNTAX error
DBBRACKET('<.A.B>')    ->    SYNTAX error