DBTOSBCS

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

converts all passed, valid DBCS characters (including the DBCS blank) within string to the corresponding SBCS equivalents. Other DBCS characters and all SBCS characters are not changed. In EBCDIC, SO and SI brackets are removed where appropriate.
Here are some EBCDIC examples:
DBTOSBCS('<.S.d>/<.2.-.1>')     ->    'Sd/2-1'
DBTOSBCS('<.X. .Y>')            ->    '<.X> <.Y>'

Note: In these examples, the .d is the DBCS character corresponding to an SBCS d. But the .X and .Y do not have corresponding SBCS characters and are not converted.

Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/x2sbcs.html