Previous Topic: FREE Function—Remove the Global Variable EnqueueNext Topic: RENCOLS Function—Rename Column Names


RENAME Function—Rename Tables

The RENAME function renames a table by copying the table to a new table and deleting the old table.

RENAME has the following syntax:

OI ASOTEAPI RENAME TABLE(from_table_name) TARGET(to_table_name) SSMPROT(YES|NO)

The SSMPROT keyword determines whether the potentially destructive operation is performed on an active System State Manager resource table or the SSM directory table. A value of NO unconditionally allows the operation. A value of YES prohibits the requested operation against any active SSM table. The default is NO except for the DELETE, DROPCOLS, and RENAME operations.