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 -segment stable table

This command renames segment stable to table and shifts any region mapped to stable so it is mapped to table.