Edit Command

Line Edit Commands

Command Line Entries

 

The edit command (E) is used to modify any report request in your personal library, or any requests you own in the common library.  You should never edit a report request in the common library unless you are the owner.  

 

There are three access points for editing your report requests:  

 

EDIT    PD.CSUCFOC.UUSER(EMPLIST)      Line 00000000  Col 001 008

Command ==>                                       Scroll ===> PAGE

****** ******************** Top of Data **************************

000100 -* EMPLOYEE LIST - RUN QUARTERLY                           

000200 EX JACPS                                                   

000300 TABLE FILE AC                                              

000400 HEADING CENTER                                             

000500 "CURRENT EMPLOYEE LIST"                                    

000600 PRINT AC:WNAME AS 'EMPLOYEE'                               

000700       AC:CLASS AS 'CLASS'                                  

000800       PS:TITLEA AS 'TITLE'                                 

000900       AC:FTE AS 'FTE'                                      

001000 BY AC:AGYUNIT AS 'AREA'                                    

001100 BY AC:WNAME NOPRINT                                        

001200 IF RECORDLIMIT EQ 10    '                                  

001300 FOOTING                                                    

001400 "DATA AS OF <AC:DAO"                                       

001500 END                                                        

****** *******************Bottom of Data**************************

 

Changes to your report requests can be made by simply typing over existing lines, using line edit commands or by using command line entries.

 

Line Edit Commands

These commands are used to add, delete, copy or rearrange lines in your report request.  To use, type a command anywhere over the line number and press enter.  For example:

 

001100 BY AC:WNAME NOPRINT                                        

d01200 IF RECORDLIMIT EQ 10                                       

001300 FOOTING

 

For the commands below, only the single alpha character is typed over the line number.

 

Command

Description

A (After)

Used to indicate where lines are to be copied or moved.

B (Before)

Used to indicate where lines are to be copied or moved.

C (Copy)

Used to copy a line.  Must be used in conjunction with A or B command to indicate the new location.  If you want to copy a block of lines, type CC on the first and last lines of the stack.

D (Delete)

Used to delete a line.  To delete multiple lines specify a number after the D.  If you want to delete a block of lines, type DD on the first and last lines of the stack.

I (Insert)

Used to insert a line.  To insert multiple lines specify a number after the I.

M (Move)

Used to move a line.  Must be used in conjunction with A or B command to indicate the new location. If you want to move a block of lines, type MM on the first and last lines of the stack.

R (Repeat)

Used to repeat a line. To repeat multiple times, specify a number after the R.

 

Command Line Entries

The commands below can be entered on the command line when editing report requests.  To use, type the command after the prompt and press enter.  For example:

 

EDIT    PD.CSUCFOC.userid(EMPLIST)      Line 00000000  Col 001 008

Command ==> save                                  Scroll ===> PAGE

******* ******************* Top of Data **************************

 

For the commands below, string indicates a set of characters that you supply.  If the string includes spaces, it must be enclosed in single quotes.  

 

Command

Description

CANCEL

Exits the report request without saving any changes since the last save.

CHANGE ALL

string string

Used to change all occurrences of characters in the first string to characters in the second string.  Each line changed will be indicated with the characters:  ==CHG in the line number column.

COPY

Takes you to the edit - copy panel.

COPY member

Used to copy the specified member from your library into the current report request.  Note:  If this command is issued in a report request that is not empty, it must be used in conjunction with A or B line command to indicate the copy location.  

DOWN number

Scrolls down the specified number of lines.

FIND string

Finds the first occurrence of a string.  To find the next occurrence of the string, press the F5 key.

LOCATE number

Locates a specific line number.

RESET

Resets to original mode (e.g., after using the CHANGE command).

SAVE

Saves the report request without exiting.

UP number

Scrolls up the specified number of lines.