When a function has been selected for renaming a display similar to the following example will be presented:

 
 DC@P301401                 Rename Existing Function                   
                                                                       
 Process    : XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXX                 
 Function   : XXXXXXX    XXXXXXXXXXXXXXXXXXXXXXXXXXXXX                 
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
  Enter new name of function . . . . . . . . . . . . . . . _______     
                                                                       
                                                                       
                                                                       
                                                                       
 Fnn=Help  Fnn=Exit  Fnn=Cancel  Fnn=Messages                          
 

To rename the function within the process enter a new function name. The function name must not already exist within the process, and if the function being renamed is a *DIRECT function, the new function name must not exist within the partition.

All records associated with the function will be renamed to the new function name, including any compiled objects such as programs and display files (in the case of *DIRECT functions).

Note: The function will be flagged as unusable once it has been renamed. The process will also be flagged as not compiled.