Capturing Profile Information
You can capture Profile identity information by submitting the following request:
DIAGNOSTIC DUMP COSTS targ-sys-name
The profile type, name, and category are stored in the cost table row.
Teradata System Emulation Tool looks for this profile during export and, if found, captures the result of the following macro, which produces a set of SQL requests that create the actual cost profile:
EXEC DBC.ShowCostProfileAs('profile-name'
, 'targ-sys-name_Profile'
, ');