April 1, 1981 USING SPECIAL CHARACTEFS The IMA3E and CASE subcommands control how data, once entered on an
input line, is qoinq to be represented in a file. The specific
characters affected, and the subcommands that control their
representation, are: characters: CASE subcommand Tab characters (X'05'): IMAGE subcommand (ON and JFF operands) (X'16'): IMAGE subcommand (CANON operand)
If you are using a terminal that bas only uppercase characters, you do
not use the CASE subcommand; all of the alphabetic characters
you enter are uppercase. On terminals equipped with both uppercase and lowercase letters, all lowercase alphabetic characters are converted to uppercase in your file, of how you enter them. If you are file and you want it to contain both uppercase and lowercase
letters you can use the subcommand: case m
The "M" stands for "mixed." This attribute is not stored with the file
on disk. If vou create a new file, and you issue the CASE subcommand,
all the characters you enter remain in If you subsequently file the file and later edit it aqain, you must issue the CASE M subcommand aqain to locate or enter lowercase data.
There are two reserved filetypes for which uppercase and lowercase is
the default. These are SCRIPT and both of which are text or doccrment-oriented filetypes. For most proqramming applications, you do
not to use lowercase letters. Loqical tab settinqs indicate the column positions where fields within a
record begin. These logical tab settings do not necessarily correspond
to the physical tab settings on a typewriter terminal. What happens
when yocr press the Tab key on a typewriter terminal depends on whether
the imaae settina is on or off. The default for all filetypes except SCRIPT is ON. You can chanqe the default by issuing the imaqe off If the image settinq is on, when you press the Tab key the editor
replaces the tab characters with blanks, starting at the column where
vou oressed the Tab key, and ending at the last column before the next loqical tab set+inq. The next character entered after the tab becomes the first character of the next field. For example, if you enter:
tabset 1 15
and then enter a line that beqins with a tab character followinq the tab is written into
r.egardless the tab stop on your terminal.
character, the first data
the file in column 15,
If the settinq is off, the tab character, is inserted in
the iust as any other data character is inserted. No blanks are
76 VM/370 eMS User's Guide
If the image setting is off, the tab character, X'05', is inserted in
the record, just as any other data character is inserted. No blanks are
inserted.
If you want to insert a tab character (X'05') into a record and the
image setting is on, you can do one of the following:
1. Set IMAGE OFF before you enter or edit the record, and then use the
Tab key as a character key.
2. Enter some other character at the appropriate place in the record,
and then use the ALTER subcommand to alter that character to a X'05'. When you create a file,
effect, so that you do not need to set
language processors correspond to the
If you want to change them, or if
nonreserved filetype, you may want to
subcommand, for example:
there are logical tab settings in
them. The default values for the
columns used by those processors.
you are creating a file with a
set them yourself. Use the TABSET tabset 1 12 20 28 72
Then, regardless of what physical tab stops are in effect for your
terminal, when you press the Tab key with image setting ON, the data you
enter is spaced to the appropriate columns. The default tab settings used by the editor follow. !ile1YEg ASSEMBLE, MACRO, 1, 10, 16, 31, 36, 41, 46, 69, 72, 80, UPDATE
6
UPDTxxxx, ASM3705 AMSERV 2, 6, 11, 16, 21, 26, 31, 36, 41, 46, FORTRAN 1, 7, 10, 15, 20, 25, 30, 80 FREEFORT 9, 15, 18, 23, 28, 33, 38, 81 BASIC, VSBASIC 7, 10, 15, 20, 25, 30, 80 PLIOPT, PLI 2, 4, 7, 10, 13, 16, 19, 22, 25, 31,
79, 80 COBOL 1, 8, 12, 20, 28, 36, 44, 68, 72, 80 All Others 1, 6, 11, 16, 21, 26, 31, 36, 41, 46,
91, 101, 111, 121, 131
51, 61, 71, 80 37, 43, 49, 55,
51, 61, 71, 81, !21g: When you are specifying tab settings for files, the first tab
setting you specify should be the column in which you want your data to
begin. The editor will not allow you to place data in a column preceding
this one. For example, if you issue:
tabset 5 10 15 20 and then enter an input line:
input This is a line
Columns 1, 2, 3, and 4 contain blanks; text begins in column 5. Secticn 5. The CMS Editor 77
Previous Page Next Page