Chapter 9 Working with PDMs


Reverse engineering PowerBuilder extended attributes

The reverse engineering feature reads the PowerBuilder extended attributes contained in a database and writes them into the appropriate tables and columns in a PDM.

During reverse engineering, certain reversed extended attributes are compared with the translated default values in the PowerBuilder extended model definition. It these attributes match, the reversed value is replaced by the default value from the extended model definition.

For more information on objects translated during reverse engineering, see section Generating PowerBuilder extended attributes.

This automated process uses the PowerDesigner generation template language (GTL).

For more information on the PowerDesigner template language, see chapter Generation Reference Guide in Advanced User Documentation .

Steps To reverse engineer PowerBuilder extended attributes:

  1. Select Tools→PowerBuilder→Reverse Extended Attributes.

    The PowerBuilder Extended Attributes Reverse Engineering dialog box is displayed.
  2. Click the Connect to an ODBC Data Source tool.

    The Connect to an ODBC Data Source dialog box is displayed.
  3. Select a machine or file data source and click Connect.

    The selected data source is displayed in the ODBC Data Source box in the upper part of the PowerBuilder Extended Attributes Reverse Engineering dialog box.
  4. Select the tables you want to reverse engineer.
  5. Click OK to start reverse engineering.

    The Output window displays the reverse engineering messages.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.