HP 3000 Manuals

RENAME [ QUERY/V Reference Manual ] MPE/iX 5.0 Documentation


QUERY/V Reference Manual

RENAME 

Changes the name of a procedure in the current Proc-file.

Syntax 

     REN[AME] old procedure name, new procedure name 

For example:

     >RENAME UPCUST,UPACCT

Where old procedure name = UPCUST and new procedure name = UPACCT

Parameters 

old procedure name     is the name currently associated with the
                       procedure.

new procedure name     is the name you want to use for the procedure in
                       the future.  Refer to the CREATE command for
                       naming rules.

Discussion 

Both procedure names must follow the rules defined in the CREATE command
description.  An error message is printed if old procedure name does not
refer to an existing procedure in the current Proc-file.

Example 

     >PROC-FILE=PROCACCT  
     >DISPLAY LIST 

     FINDACCT       FINDSALE      UPCUST       REPACCT      REPSALE
     >RENAME UPCUST,UPACCT 
     >DISPLAY LIST 

     FINDACCT       FINDSALE      UPACCT       REPACCT      REPSALE



MPE/iX 5.0 Documentation