DBADJUST

Read syntax diagramSkip visual syntax diagram
>>-DBADJUST--(--string--+--------------+--)--------------------><
                        '-,--operation-'      

In EBCDIC, adjusts all contiguous SI and SO (or SO and SI) characters in string based on the operation specified. The following are valid operations. Only the capitalized and highlighted letter is needed; all characters following it are ignored.
Blank
changes contiguous characters to blanks (X'4040').
Remove
removes contiguous characters, and is the default.
Here are some EBCDIC examples:
DBADJUST('<.A><.B>a<>b','B')    ->    '<.A. .B>a  b'
DBADJUST('<.A><.B>a<>b','R')    ->    '<.A.B>ab'
DBADJUST('<><.A.B>','B')        ->    '<. .A.B>'

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/adjust.html