Return Codes
0Normal request
202 Invalid operand
Example
'CASE MIXED RESPECT'
This example sets the case to MIXED and the sensitivity to RESPECT. For more information on sensitivity,
see the FIND command, section “FIND” on page 242.
CHANGE
 CHANGE /string1/string2/
ALL

CHANGE changes a string in the file.
Operands
string1
specifies the string being replaced.
string2
specifies the string that replaces string1.
ALL
is a keyword indicating that all occurrences on all lines, from the current line, to the end of the file, are
changing.
/is the delimiting character.
Return Codes
0Normal return
202 Invalid operand
210 Request failed
223 Search argument not found
Example
'CHANGE /noeditor/editor/'
This example replaces the first occurrence of noeditor with editor.
Note
The CHANGE command respects the sensitivity settings of the editor when locating string1 and when
changing string2 as defined by the CASE command or the system default.
CMDLINE
 CMDLINE TOP
BOTTOM

CMDLINE sets the command line display preferences.
Operands
TOP
displays the command line on the second line of the screen.
Text Editor
Chapter 18. REXX/CICS TextEditor 237