EDIT Subcommands-ZONE ZONE Use the rONE subcommand to specify the columns of each record (starting
position and ending position) to be scanned when the editor searches for
a character string or to display the current ZONE settings. The format
of the ZONE subcommand is:
r--- I I Zone I r r " I I firstcol Ilastcolll I I I * I * II ! I I 1 I " I ILL .J.J L
firstcol indicates the near zone column of each record to be scanned.
If firstcol is specified as an asterisk (*), the default is
column 1.
lastcol indicates the end zone column of each record to be scanned.
If lastcol is specified as an asterisk (*), the default is the
record length.
1. The editor assigns the following settings by default: ASSEMBLE, MACRO, UPDATE, UPDTxxxx AMSERV, PLI, PLIOPT COBOL, DIRECT, FORTRAN BASIC, VSBASIC PF.EFFORT Others 1
1 71
Record Length
Record Length
Record Length
2. The ZONE settings are used by the ALTER, CHANGE, and LOCATE subcommands to define the columns that will be scanned. If you
specify a character string longer than the zone, you receive the
and the subcommand is not executed.
3. If vou issue a CHANGE subcommand that increases the length of a
line beyond the end zone setting, the line is truncated. Section 3. EDIT Subcommands and Macros 257
1 I I , , I
EDIT Subcommands-ZONE r ? U. You can use the ZONE subcommand to protect data in particular columns r for example:
edit newfile memo NEW FILE:
1 80 zone 10 20 input the zone is now set for columns 10-20 EDI!: change /0/*/ the zone is n*w set for columns 10-20 Note that the LOCATE and CHANGE now r not the word zone
not in position 1.
subcommands operated on the word
scanning started in position lOr When you enter the ZONE subcommand without zone settings, the
editor displays the current setting.
? (QUESTION MARK) Use the? subcommand to display the last EDIT subcommand executed except
for a REUSE (=) or ? (question mark) subcommand. The format of the?
subcommand is:
r------- I ? L- After an Xr Y r subcommand that
or = subcommand r was executed as
the last
a result
EDIT subcommand
of issuing the
1 , -----' is the
I or Y When you issue the ? subcommand using a 3270 in display mode, the last
EDIT subcommand that was executed is redisplayed in the user input area.
Press the Enter key to execute it again; you may modify the line before
reentering it.
258 IBM VM/370 eMS Command and MaGro Reference
Previous Page Next Page