​​​

Line Edit Commands

Line Edit commands can be used to edit lines in your report requests, batch and hold files, or customized compendium reports. 

Things to note:

    • The character n denotes the number of times you want the operation to occur.
    • The block commands (CC, DD, MM, RR) must be used in sets to mark the start and end of each block.
    • The position commands (A, B) must be used in conjunction with C (copy) and M (move) to indicate where the lines should be inserted.
Command​​​​​Description​
A​​​​​
Indicates the line after which copied or moved lines are to be inserted.
AnIndicates the number of times copied/moved lines will be inserted after the line.
BIndicates the line before which copied/moved lines are to be inserted.
BnIndicates the number of times copied/moved lines will be inserted before the line.
CCopy a line.
CnCopy n lines starting at this line.
CCIndicates the beginning and ending of a block of lines to be copied.
DDelete a line.
DnDelete n lines starting at this line.
DD​
Indicates the beginning and ending of a block of lines to be deleted.
IInsert a line following this line.
MMove this line.
MMIndicates the beginning and ending of a block of lines to be moved.
RRepeat a line.  The repeated line is inserted after the line containing the R.
RnRepeat this line n times.
RRIndicates the beginning and ending of a block of lines to be repea​​ted.​​​​

To use a command, type the command(s) over any existing line number(s) in your report request and press enter. For example, in the report request below the move (M) command is used on line 5 and the after (A) command is used on line 6 to indicate where line 5 should be inserted.  

 

EDIT     PD.CSUCFOC.UUSER(TRAIN1) - 01.01   COLUMNS 00001 00072

COMMAND ===>                                   SCROLL ===> PAGE

****** ******************* TOP OF DATA ************************

000001 -* ALPHA LIST OF CURRENT EMPLOYEES      

000002 EX AC                                   

000003 TABLE FILE AC                           

000004 PRINT AC:CLASS                          

00M005       AC:FTE                            

000A06       AC:SALARY                         

000007 BY AC:WNAME                             

000008 IF RECORDLIMIT EQ 100                   

000009 END                                     

****** ***************** BOTTOM OF DATA ***********************





Last Updated: March 1, 2024