PDM Variables and Macros

The SQL queries recorded in the DBMS definition file items make use of various PDM variables. These variables are replaced with values from your model when the scripts are generated, and are evaluated to create PowerDesigner objects during reverse engineering.

PowerDesigner variables are written between percent signs (%).

Example

CreateTable = create table %TABLE%

The evaluation of variables depends on the parameters and context. For example, the %COLUMN% variable cannot be used in a CreateTablespace parameter, because it is only valid in a column parameter context.

When referencing object attributes you can use the following variables or, alternately, the public names available through the PowerDesigner metamodel (see Customizing Generation with GTL and Working with PowerDesigner Resource Files.