Edit [E]

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:  

  • From the main menu in either your personal library or the common library, type an 'E' next to the report request name and press enter.  For more information, refer to the topic:  Personal Library.​
  • From the main menu in either your personal library or the common library, press F2 and type the name of an existing report request name.  For more information, refer to the topic:  Function Keys.​
  • From the online FOCUS environment, type the command EX MAINT at the caret and provide the report request name when prompted.  For more information, refer to the topic:  Online Execution.

 

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 lo cation. 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.  

 ​

CommandDescription
CANCELExits 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.
COPYTakes you to the edit - copy panel.
COPY memberUsed 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 numberScrolls down the specified number of lines.
FIND stringFinds the first occurrence of a string.  To find the next occurrence of the string, press the F5 key.
LOCATE numberLocates a specific line number.
RESETResets to original mode (e.g., after using the CHANGE command).
SAVESaves the report request without exiting.
UP number



Last Updated: February 19, 2024