Rename

The RENAME command allows you to change a name-space, the name of a region, or the name of a segment.

The format of the RENAME command is:

    R[ENAME]/N[AME] old-name new-name
    R[ENAME]/R[EGION] old-region-name new-region-name
    R[ENAME]/S[EGMENT] old-segment-name new-segment-name
    

The RENAME command requires specification of an object-type and two object-names.

When renaming a region, GDE transfers all name mappings to the new region. When renaming a segment, GDE transfers the region mapping to the new segment.

Example:

    
            
    GDE> RENAME /S STABLE TABLE
    
    
    
         

This command renames segment STABLE to TABLE and shifts any regions currently mapped to STABLE so they are mapped to TABLE.