DBBRACKET

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

In EBCDIC, adds SO and SI brackets to a DBCS-only 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.

Examples

Here are some EBCDIC examples:
DBBRACKET('.A.B')      ->    '<.A.B>'
DBBRACKET('abc')       ->    SYNTAX error
DBBRACKET('<.A.B>')    ->    SYNTAX error


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