z/OS TSO/E REXX Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


DBTODBCS

z/OS TSO/E REXX Reference
SA32-0972-00

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

converts all passed, valid SBCS characters (including the SBCS blank) within string to the corresponding DBCS equivalents. Other single-byte codes and all DBCS characters are not changed. In EBCDIC, SO and SI brackets are added and removed where appropriate.

Here are some EBCDIC examples:
DBTODBCS('Rexx 1988')      ->    '<.R.e.x.x. .1.9.8.8>'
DBTODBCS('<.A> <.B>')      ->    '<.A. .B>'

In these examples, the .x is the DBCS character corresponding to an SBCS x.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014