RENAME command use

The following example illustrates the use of the RENAME command:

Example 1—Rename Table Generations

Rename all generations of TABLE01 to TABLE02 and the associated View Table on the tableBASE library MAINLIB (default).

RENAME TBL=TABLE01 NEWNAME=TABLE02;
RENAME TBL=TABLE01 TTYPE=V NEWNAME=TABLE02;