EDIT Subcommands-CASE, CHANGE CASE Use the CASE subcommand to indicate how the editor is to process
uppercase and lowercase letters. The format of the CASE subcommand is:
r---- I I CASE I , L- , r , , ,M I I I U , , L .J
____ 11 M indicates that the editor is to accept any mixture of uppercase and lowercase letters for the file as they are entered at the terminal. U inaicates that the editor is to translate all lowercase letters to
uppercase letters before the letters are entered into the file. U is the default value for all filetypes except MEMO and SCRIPT. If you enter the CASE subcommand with no operand, the current setting is
displayed at the terminal.
If you specify CASE M when using a 3270 that does not have the lowercase
feature (RPQ), you can key in lowercase characters, but they appear on
the screen as uppercase characters.
CHANGE Use the CHANGE subcommand to change a specified group of characters to
another group of characters of the same or a different length. You may
use the CHANGE subcommand to change more than one line at a time. The
format of the CHANGE subcommand is: r- , , Change , , I L--- r r " [/stringl[/string2[/IniGI t]]] 1*1 *11 III 'I L L .J.J
___________________________________________________ -J I (diagonal) signifies any unique delimiting character that does not
appear in the character strings involved in tne change.
stringl
string2
specifies a group of characters to be changed (old data).
stringl may be a null string.
specifies the group of characters that are to replace
string 1 (new da tal. string 2 may be a n nIl string; if
omitted, it is assumed null. Section 3. EDIT Subcommands and Macros 221
EDIT n or * indicates the number of lines to be searched, starting at
the current line. If * is entered, the search is performed
until the end of the file is reached. If this option is
omitted, then only one line is searched.
G or * requests the editor to change every occurrence of stringl
in the lines specified. If G or * is not specified, only
the first occurrence of stringl in each line specified is
changed. If string' is null, G or * may not be specified.
1. The first nonblank character following the any of its is considered the delimiter. c.VM/370.CMS.* subcommand (or
For example:
changes the first occurrence of VM/310 to eMS on every line from
the current line to the end of the file.
2. If string2 is omitted, it is assumed to be a null string. For
example: THIS ISN THE LINE.
change In THIS IS THE LINE. null string causes a character deletion. If stringl is null,
characters are inserted at the beginning of the line. For example: THIS IS THE LINE.
change IISO I SJ THIS IS THE LINE.
3. To change multiple occurrences of the same string on one line,
enter:
change/stringl/string2/ 1 *
4. The subcommand can be used on typewriter terminals to
display, without changing, any lines that contain the information
specified in stringl. Enter:
change /stringl/stringl1 * *
5. Use the ZONE subcommand to indicate which columns are to be
searched for string'. If string' is wider than the current zone,
you receive the message: ZONE ERROR and you should either reenter the CHANGE subcommand or change the
zone setting.
6. If the character string inserted causes the data line to extend bevond the truncation column or the zone column, any excess
characters are truncated. (See the description of the TRUNC subcommand for additional information on truncation.)
7. You should use the ALTER
single character to some
available on your keyboard).
subcommand when you want
special character (one
222 VM/37Q CMS Command and Macro Reference
to change a
that is not
Previous Page Next Page