Previous Topic: VNext Topic: Edit VSAM ESDS Files


Line Commands

Line commands are available in edit character and multi-record formatted modes only. Specify line commands in the six-position record sequence field, which is located on the far left side of the edit screen. The line command can start in any position. Type only one line command for a single record sequence, but type multiple line commands on different lines on the same screen. Line commands are checked for validity before they are processed.

Remove line commands by overtyping the line command characters with spaces or by specifying the RESET primary command.

Note: In each of the following commands, you can replace the asterisk ('*') with a numeric value to specify a number of lines, blocks of lines, or columns upon which to perform the line command. For example, entering the line command "D 9" on line 0020 deletes lines 0020-0028, a total of 9 lines.

A *

Sets the target for the COPY or MOVE command; lines are inserted after the line containing the command.

B *

Sets the target for the COPY or MOVE command; lines are inserted before the line containing the command.

BND

Inserts a BNDS line.

BNDS

Same as BND.

BOUNDS

Same as BND.

C *

Sets the source of a COPY command

CC

Sets one end point of the range of lines to be copied.

CHAR

Switches the current line to character mode.

COL

Inserts a COLS line.

D *

Deletes the line.

DD

Sets one end point of the range of lines to be deleted.

F *

Specifies that the first n lines not be excluded on an excluded line range.

I *

Inserts lines after the current line.

K *

Toggle to unprotect/protect the key field for a VSAM KSDS record so the key field to be modified.

KK

Sets one end point of a range of lines to toggle to unprotect/protect the keyfield for a VSAM KSDS record.

L *

Specifies that the last n lines not be excluded on an excluded line range.

LC *

Lowercase line.

LCC

Sets one endpoint of a range of lines to lowercase.

M *

Sets the source of a MOVE command.

MASK

Inserts a MASK line that will be used as a model for all inserted lines.

MF

Switches the current line to multi-record format mode.

MM

Sets one endpoint of a range of lines to be moved.

R *

Repeats the line.

RR *

Sets one end point of a range of lines to repeat.

S *

Specifies that the first n lines be unexcluded on an excluded line range.

SF

Switches the line to single-record format mode.

UC *

Uppercase line.

UCC

Sets one end point of a range of lines to uppercase.

V *

Sets the length of the line. This command is only valid for data sets with variable length records.

Note: For more information about the V line command, see "V" under the section "Primary commands."

VV

Sets one end point of a range of lines to which the length is modified. This command is only valid for data sets with variable length records.

X *

Excludes the line.

XX

Sets one end point of a range of lines to exclude.

) *

Shift right.

)) *

Sets one end point of a range of lines to be shifted right.

( *

Shift left.

(( *

Sets one end point of a range of lines to be shifted left.

> *

Data shift right.

>> *

Sets one end point of a range of lines to be data shifted right.

< *

Data shift left.

<< *

Sets one end point of a range of lines to be data shifted left.

Replace the asterisk ('*') with a numeric value in the line command to specify the number of lines, blocks of lines, or columns to which the line command is applied.