Previous Topic

Next Topic

Book Contents

Book Index

Line Editing Commands (CMEM)

The following types of line editing commands exist in the Edit environment.

Table 311 CMEM Line Editing Commands - Delete Commands

Command

Description

DS

Delete a single line.

DL

Delete a logical line.

DB

Delete a logical block or sub-block.

DD

Delete lines between two DD specifications.

D

Delete a line. Control-M determines whether to delete a single or logical line based on the line type.

Table 312 CMEM Line Editing Commands - Copy Commands

Command

Description

CS

Copy a single line.

CL

Copy a logical line.

CB

Copy a logical block or sub-block.

CC

Copy lines between two CC specifications.

C

Copy a line. Control-M determines whether to copy a single or logical line based on the line type.

Copy commands are used in conjunction with Location commands. The lines and blocks are placed at the position indicated by Location command A or B (described below).

Table 313 CMEM Line Editing Commands - Move Commands

Command

Description

MS

Move a single line.

ML

Move a logical line.

MB

Move a logical block or sub-block.

MM

Move lines between two MM specifications.

M

Moves a line. Control-M determines whether to move a single or logical line based on line type.

Move commands are used in conjunction with Location commands. The lines and blocks are placed at the position indicated by Location command A or B, described in Table 316 below.

Table 314 CMEM Line Editing Commands - Repeat Commands

Command

Description

RS

Repeat a single line.

RL

Repeat a logical line.

RB

Repeat a logical block or sub-block.

RR

Repeat lines between two RR specifications.

R

Repeat a line. Control-M determines whether to repeat a single or logical line based on line type.

The repeated lines and blocks are placed immediately after the lines and blocks marked with the command.

Table 315 CMEM Line Editing Commands - Insert Command

Command

Description

I

Inserts a new logical line or block after the logical line or block marked with an I.

Table 316 CMEM Line Editing Commands - Location Commands

Command

Description

Indication of the position where lines or blocks must be placed.

A (After)

Indicates that lines or blocks must be placed after the line marked with an A.

B (Before)

Indicates that lines or blocks must be placed before the line marked with a B.

Location commands A and B are used in conjunction with Copy (C, CS, CL, CC), and Move (M, MS, ML, MM) commands.

Parent Topic

Editing CMEM Rule Definitions in the Edit Environment