Skip to content

Line Commands

Command Description
A Destination for Move, Copy, Paste; lines are inserted after this line
B Destination for Move, Copy, Paste; lines are inserted before this line
Cnn, CC Copy one or more lines
Dnn, DD Delete one or more lines
Fnn Show the first excluded or deleted line(s)
Inn Insert one or more lines
Lnn Show the last excluded or deleted line(s)
Mnn, MM Move one or more lines
S Show a block of callable code moved around in versions (a COBOL paragraph, for example)
Rnn, RR Repeat one or more lines
Unn, UU Undelete one or more previously deleted lines
Xnn, XX Exclude one or more lines

Note

  • nn indicates a single or multiple digit line command argument.

  • Multiple line commands can be entered and executed simultaneously.

Sample

000035  003500  IF       OPEN-REQUEST       PERFORM DO-THE-OPEN
< A     003600 ELSE IF   READ-REQUEST       PERFORM DO-THE-READ
<> B    003600 ELSE IF   UPDATE-REQUEST     PERFORM DO-THE-UPDATE
> C     003610 ELSE IF   EXTRACT-REQUEST    PERFORM DO-THE-EXTRACT
---- - - - - - - - - - - - - - - - - - - - - 2 Lines DELETED
>>___D 006400        UPDATE-RTN.
>>___D 006500               PERFORM UPDATE-A.
>>___D 006600               PERFORM UPDATE-B.
>>___D 006700        UPDATE-RTN-EXIT. EXIT.
/*0039 003900        ELSE IF CLOSE-REQUEST PERFORM DO-THE-CLOSE
---- - - - - - - - - - - - - - - - - - - - - 1 Lines DELETED
>< + 004000          ELSE DISPLAY ‘YOUR I/O REQUEST IS INVALID’
> + 004010                    MOVE 12 TO RETURN-CODE
>> + 005100 DO-THE-READ.
<<0041 004100        READ ONLY-FILE NEXT, AT END MOVE 8 TO RETURN-CODE.
- - - - - - - - - - - - - - - - - - - - 22 Lines NOT Displayed
<<___D 006400        UPDATE-RTN.
<<___D 006500               PERFORM UPDATE-A.
<<___D 006600               PERFORM UPDATE-B.
<<___D 006700        UPDATE-RTN-EXIT. EXIT.

Legend of Symbols

Symbol Denotes Symbol Denotes
<> Replacement of the Base record >> Paste of record in new place
> Insertion after the Base record << Cut or removal of a record
< Deletion of the Base record /\ A commented-out record

The explanations for each line or block of lines follows:

Lines Description
000035 003500 A common (unchanged) base record with a relative number (35) shown in command area.
< A 003600 The next (36) base record is missing (that is, deleted) in version A: \< indicates a deletion.
<> B 003600 In version B, a new line replaces the 36th base record: \<> indicates a not equal meaning.
> C 003610 Version C has an inserted line after the 36th base record: > indicates the insertion.
2 Lines DELETED This line holds the place of two base records that the user deleted during the reconciliation, and therefore are excluded from view. These lines can be undeleted by using a First or Last line command, and then the Undelete line command.
>>___D 006400
>>___D 006500
>>___D 006600
>>___D 006700
In version D, a COBOL paragraph has been moved relative to its place in the base versions; >> indicates a pasted action.
/*0039 003900 The 39th base record has also been deleted by the user, but here it is included in view through a First or Last command; /* means the line is commented out.
1 Lines DELETED >< + 004000 The user overtyped the 40th base record. >< symbol indicates both a not equal meaning and that the base record has been logically deleted (shown by “1 Lines DELETED”.)
> + 004010 The user has inserted a codeline, as indicated by >.
>> + 005100 The user has pasted the 51st base record here, as indicated by >>.
<<0041 004100 The user cut the 41st base record; << indicates a cut or moved record.
22 Lines NOT Displayed This line holds the place of 22 base lines excluded from view. These lines can be restored for viewing with appropriate View or Reset primary commands or with First or Last line commands.
>>___D 006400
>>___D 006500
>>___D 006600
>>___D 006700
A COBOL paragraph has been moved in version D; << indicates the move.