Specifying multiple line commands


You can enter multiple line commands simultaneously. However, if you enter multiple line commands that conflict with one another, File-AID displays an error message. For example, a D (delete) line command cannot be placed within a block to be copied or moved.

You can specify multiple source data statements using single or block C (copy) and M (move) commands. However, each source must have a unique destination. The destination is associated with the closest source. Specify the destination with one or more A (after), B (before), and H (here) line commands. You cannot use the O (overlay) line command to specify a destination when multiple source data statements are moved or copied.

If you specify multiple MM (move block) and/or CC (copy block) commands, you must specify a single destination for each block using the A (after), B (before), or H (here) commands. You cannot place intervening source or use destination line commands between each block and its respective destination. For example, the following commands can be entered simultaneously:

CC 001   LINE 1
CC 002   LINE 2
A0 003   LINE 3
00 004   LINE 4
00 005   LINE 5
A0 006   LINE 6

After the command is executed, the lines are copied as shown:

000001   LINE 1
000002   LINE 2
000003   LINE 3
000004   LINE 1
000005   LINE 2
000006   LINE 4
000007   LINE 5
000008   LINE 6
000009   LINE 1
000010   LINE 2

However, the following set of commands is ambiguous and produces the error message: COMMAND CONFLICT.

CC 001   LINE 1
CC 002   LINE 2
000003   LINE 3
CC 004   LINE 4
CC 005   LINE 5
A  006   LINE 6
A  007   LINE 7

Additional rules relating to the use of individual commands are described under each command.

Line commands available in File-AID for character edit are listed in Line Command Summary. In this section, line commands are listed in alphabetical order according to the command name, not its description. The following information is presented for each command:

  • Command name and description.
  • Purpose of the command.
  • A syntax diagram that shows the full syntax required to execute the command, including all parameters.
  • Use of the command without and/or with parameters, as applicable.
  • Guidelines for the command not covered under one of the parameters.

Standard Edit Line Commands

The following table lists the line commands that are available in character and vertical formatted modes of the Edit function.

Line Command Summary

Command

Description

Specified Occurrences

Block Commands

(

Shift Left

([n]

(([n]

)

Shift Right

)[n]

))[n]

A

After

A[n]

 

B

Before

B[n]

 

BNDS

Bounds

BNDS

 

C

Copy

C[n]

CC

CHAR

Character mode

CHAR

 

COLS

Columns

COLS

 

D

Delete

D[n]

DD

F

First

F[n]

 

FMT

Formatted mode

FMT

 

H

Here

H[n]

 

I

Insert

I[n]

 

L

Last

L[n]

 

M

Move

M[n]

MM

MAP

Map

MAP

 

MASK

Mask

MASK

 

O

Overlay

O[n]

OO

OVLY

Overlay Mask

OVLY

 

P

Protect

P[n]

PP

R

Repeat

R[n]

RR[n]

S

Select

S

 

S

Show

S

 

U

Unprotect

U[n]

UU

VFMT

Vertical Formatted mode

VFMT

 

X

Exclude

X[n]

XX

64-bit Memory Mode Line Commands

The line commands listed in the following table are available in character and vertical formatted modes of the 64-bit Memory Mode Edit function:

64-bit Memory Mode Edit Line Commands

Line Command

Description

([n], (([n]

Shift Left.

)[n], ))[n]

Shift Right.

A[n]

After. Specifies a destination when data is copied, moved, or overlayed.

B[n]

Before. Specifies a destination when data is copied, moved, or overlayed.

BNDS

Displays the column boundary information line.

C[n], CC

Copies a line or a block.

CHAR

Invokes character mode from vertical formatted mode.

COLS

Displays the column number’s information line.

D[n], DD

Deletes a line or block.

F[n]

Redisplays excluded lines, starting with the first, going forward.

FMT

Displays the record in formatted mode.

H[n]

Specifies one or multiple destinations for a copy of source data.

I[n]

Inserts one or more records.

L[n]

Redisplays excluded lines, starting with the last, going backward.

M[n,], MM

Moves lines to a specified location.

MAP

Displays the record in formatted mode.

MASK

Displays and allows edit of the current mask.

O[n,], OO

Overlay. Copies or moves data of specified columns.

OVLY

Displays and allows edit of the overlay mask information line.

P[n]1, PP1

Sets protection for the key fields of lines.1

R[n], RR

Repeats a line or block.

S

(Show) redisplays an entire group of excluded lines.

S

(Select) Displays the specified record in formatted mode.

U[n]1, UU1

Removes protection from the key fields of lines.1

VFMT

Invokes vertical formatted mode from formatted and character modes.

X[n], XX

Removes lines from the display.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*