Quantcast
Channel: SCN : Discussion List - SAP PowerDesigner
Viewing all 739 articles
Browse latest View live

Adding tablespace to table

$
0
0

Hi !

 

I'm trying to assign some tablespaces to tables using scripts. For that i triyed this :

 

call TB.SetPhysicalOptionValue("<Physical Options>\<tablespace_clause>\in", TS.Name)

 

I triyed also other solutions but without any result. When i try :

output TB.GetPhysicalOptionValue("<Physical Options>")

 

I don't get anything !

 

Someone has already succeeded to do this ?

 

Thank you



How to Enable PowerDesigner Support for Analysis Services

$
0
0

When I attempt to enable the add-in for Microsoft Analysis Services I get the following error:  Add-in Microsoft Analysis Services cannot be registered. Not sure how to address this issue.Running PowerDesigner v15.2. Any assistance to resolve would be much appreciated!

Reverse Engineering - Multiples MS SQL Schemas

$
0
0

I'm working with PowerDesigner 16.5.  I am trying to reverse engineer a database that has multiple schemas.  Whenever I attempt to reverse engineer it, I find that it ignores all of the schemas, except for the dbo schema.  Can anyone give me some help on understanding how to work with multiple schemas?

PowerDesigner for Hive/HBase

$
0
0

Wondering if anyone is using PowerDesigner for modeling tables for Hive and/or HBase? I have started a custom .xdb file for Hive but it falls short when dealing with complex data types and there are additional customizations needed that I have not figured out yet. I've heard that the next version will have some sort of support for big data, but no idea what that will look like.

Reverse Engineering is Creating odd results

$
0
0

I am attempting to reverse engineer my SQL Server 2008 R2 database and have finally been able to get most of the tables created.  One of my views came across oddly.The table in the image below came over fine, but a view that is contained in the database and is just doing a simple select on that table seems to have been created in PowerDesigner with each character in one it's columns being translated into seperate individual fields in PowerDesigner.  Has anyone seen this before? If so, can anyone help me understand what's going on?

 

Issue with Multiple Schema Import.PNG 

How can I create a generation dependency AFTER generation?

$
0
0

Hello

I am trying to connect an entity attribute in a CDM with an a Table column in a PDM with a generationdependency using Tools>Generate Physical Datamodel

 

The ConceptualModel is my active model and i choose my Existing PDM as target, options Preserve Modification and [Detail]Save Generation Dependencies are switched on.

 

The object i want to connect is in the selection, then, in the MergeDialog i choose it from both sides and do a "manually syncronize two objects"

 

Then, when i check the object from CDM side, it has the dependencies to the pdm side:

dep2.PNG

and :

dep1.PNG

However, when i check the object on the side of the PDM, there is no generation dependency for this field

 

What am i missing or doing wrong, or might this be a bug of PD 16.1 ?

 

 

kr

 

dirk

File Header text missing from generated script

$
0
0

I'm using version 16.5 SP02 (16.5.2.4144 PL1), and ever since upgrading to 16.5 from 16.1 the "alter scripts" created for the physical model no longer include the text I added into the "DBMS Resource File" for MSSQLSRV2012::Script\Sql\File\Header

 

Also the previous version always started the script with "Use %DATABASE%" which insured the script would run against the named database but the new version does not (I tried adding the command into the "file header" setting but that is not being included in the generated script.

 

Anyone have any ideas on what settings (probably a "generation option") I need to have set to make these things appear in the output file?

 

Thanks,

 

James.

reverse engineering with oracle database

$
0
0

excessive delay in the process of reverse engineering with oracle database


Assign to a new color for tables using VBScript

$
0
0

How select all the tables from  a owner and assign to a new color for tables, using VBScript.

Thanks.

PowerDesigner 16.5 missing from Platform Certifications?

$
0
0

In the SAP Sybase PowerDesigner 16.5 SP02 Installation Guide section Installing the Repository, we are directed tohttp://certification.sybase.com
for "the most up-to-date list of supported DBMSs".  Currently we do not see a Certification listing for PowerDesigner 16.5 SP02.  We are planning
to migrate from PowerDesigner 15.3 on Windows 7 and Repository Oracle 10.2.0.4 on HPUX to PowerDesigner 16.5 on Windows 7 and Repository Oracle 11.2.0.3 on AIX.  Is this platform/DBMS combination targeted for our planned migration certified for PowerDesigner16.5 SP02?

New Extended Attribute using VBS

$
0
0

I have a VBS script (below) which takes a logical data model, creates a new extended attribute under the 'Entity' profile of an extension.  Then it checks an entity object to see if the newly created extended attribute exists.  If the extended attribute does not exist, it outputs an error.  Running this always outputs the error.  Why does my newly created extended attribute not exist in the entity? 

 

Dim aMdl

Set aMdl = ActiveModel

 

Dim emd, ea

Set emd = aMdl.FindChildByName("ExtendedDefinition", PdCommon.cls_ExtendedModelDefinition)

Set ea = emd.AddMetaExtension(PdLDM.Cls_Entity, PdCommon.Cls_ExtendedAttributeTargetItem)

ea.Name = "Test Extended Attribute"

ea.DataType = 12 'String

 

Dim ent

Set ent = aMdl.FindChildByName("Entity1", PdLDM.Cls_Entity)

If Not ent.HasExtendedAttribute("Test Extended Attribute") Then

  output "ERROR: Entity1 does not have extended attribute 'Test Extended Attribute'."

End If

 

[Reverse Engineering - IBM DB2] Column comments are being ignored

$
0
0

Greetings team,

 

When reverse engineering a DDL script file from IBM DB2 Version 9.x for z/OS e IBM DB2 Version 10 for z/OS, PowerDesigner isn't reversing column comments.

 

I am using PowerDesigner 16.1.

 

The script is being generated by DB2ADMIN  TOOL v10.2.0  (DB2 for z/OS)


Please find below a generic example of the script I am trying to reverse:

 

 

------------------------------------------------------------------------

-- Table=QSYS.TABLE1 In Q1.TABLE1

------------------------------------------------------------------------

--

CREATE TABLE QSYS.TABLE1

(C1                 CHAR(6) FOR SBCS DATA NOT NULL,

C2                CHAR(4) FOR SBCS DATA NOT NULL,

C3                 INTEGER NOT NULL,

C4               INTEGER NOT NULL WITH DEFAULT,

PRIMARY KEY (C1,

                   C2,

                   C3))

IN Q1.TABLE1

AUDIT NONE

DATA CAPTURE NONE

CCSID      EBCDIC

NOT VOLATILE

APPEND NO  ;

--

COMMENT ON TABLE QSYS.TABLE1

IS 'COMMENT 0';

--

COMMENT ON QSYS.TABLE1

(C4 IS 'COMMENT 1',

C3 IS 'COMMENT 2',

C2 IS 'COMMENT 3',

C1 IS 'COMMENT 4');

--

COMMIT;

--

 

Table comments are being reversed:

 

1.jpg

 

However, column comments are not:

 

2.jpg

 

Has this behavior happen to any of you? Is there a Reverse Engineering/XDB definition I must change in order to be able to reverse engineer column comments from IBM DB2?

 

Looking forward to hear back from you.

 

Thanks in advance!

DBMS custom code - VBScript translation error

$
0
0

Hi,

 

A prior Data Architect customized our Oracle 10gr2 DBMS file, adding a template called \Profile\Shared\Templates\SetTableList\.  The VBScript is showing the following error for the Primary Key object on the table (we're using PD 16.5 EBF#3):

 

1 error(s), 0 warning(s)

 

 

ORACLE10gR2::Profile\Shared\Templates\SetTableList(29) (Key "PK_E_FORM_106"):

   [translation error] VBScript execution error;

 

 

1 error(s), 0 warning(s)

 

 

ORACLE10gR2::Profile\Shared\Templates\SetTableList(29) (Key "PK_E_FORM_106"):

   [translation error] VBScript execution error;

 

 

The VBScript template code is shown below.  Any advice would be greatly appreciated:

 

.vbscript

   Dim fso, tf, TextStream, S

   Dim TableDone

   Dim tCode

   If ActiveSelection.Item(0).IsKindOf(cls_Table) Then

      tCode = ActiveSelection.Item(0).Code

   Else

      tCode = ActiveSelection.Item(0).Parent.Code

   End If

   TableDone = False

   Const OpenFileForAppending = 8

   Const OpenFileForReading = 1

   Set fso = CreateObject("Scripting.FileSystemObject")

   Set tf = fso.OpenTextFile("c:\GenList.txt")

   Do    While Not tf.AtEndOfStream

      S = tf.ReadLine

      If S = tCode Then

         TableDone = True

         Exit Do

      End If

   Loop

   tf.Close

 

 

   If Not Tabledone Then

      Set tf = fso.OpenTextFile("c:\GenList.txt", OpenFileForAppending)

      tf.WriteLine(tCode)

      tf.Close

   End If

.endvbscript

 

Note too that the DBMS file is on a network drive and shared among all Data Modellers, but one Modeller is not experiencing the problem with their PD 16.5 install.  Could it be a configuration problem?  We've checked the General Options and they are all the same.

Domains - how are people using them?

$
0
0

Hi

 

New to PD and just discovering the featue that it has called Domains. Seems pretty useful for maintaining consistency across your tables and databases. Just wondered how people were using them?

 

I was thinking about creating an 'INDICATOR' domain, for example, which would be a Varchar2(1) and have allowable values 'Y' and 'N', and then, wherever I have a column in a table, for example, current_ind, then I would simply assign it the domain of INDICATOR.

 

As well as indicators, I could imagine, currency codes, country codes, updated_by columns, all benefitting from domains.

 

Are others using them similarly? Or not at all? Or sparingly?! Just wondered what opinions were, before I dive in with both feet!

 

Thanks

M

Adding business rules to exported RQM

$
0
0

Hello,

 

I was wondering if it's possible to integrate Business Rules in an exported RQM. I have multiple requirements and wish to export these to Word. The existing export function only exports requirements and does not include business rules.

 

Thanks for any help you may be able to offer!


PowerDesigner and Oracle Workspace Manager

$
0
0

We are implementing Oracle Workspace Manager and would like to know if anyone else is doing this and how to generate the DDL to add the additional statements required to suppor OWM.  I noticed an old discussion question on the Sybase PowerDesigner User Group asking for this in 2003 and wonder if anyone has determined how to do this.  Please contact me with info at sharon.calhoun@jeppesen.com.  Thanks.

Hide Shortcuts from Object Browser

$
0
0

Is there any way to hide shortcuts from the Object Browser?  Thanks.

Newbie - Generate PDF/JPG from BPM

$
0
0

Hi - I explored various options but could not find a way to generate PDF/JPG or any other shareable format to circulate the Business Process Model I have created in PD. The other people in group do not have access to PD and would like to review them.

 

Any help will be greatly appreciated.

 

Thanks

Adding naming convention to primary key

$
0
0

Hi,

 

I am wondering how to add naming convention for the primary key and the constraint name inside the physical model. 

Your help is much appreicated.

 

Thanks,

Stella

Glossary Synonyms and Name to Code Conversion

$
0
0

Hi,

 

I have set my model to do name to code conversion using glossary terms.  In my glossary, I defined term "Account" with code "AC".  Whenever I have the term "Account" in an object name, the corresponding code becomes "AC".  This is fine.  However, I would like the term "Accounts" to also be converted to "AC".  I defined "Accounts" as a synonym for "Account", expecting that if an object name contains either term, it would be converted to "AC" in the respective code.  However, this is not the case.  When I create a new object with name "Accounts", the code becomes "ACCOUNTS". 

 

Is there any way to make it so that multiple terms (ie: "Account", "Accounts", "Accounting", etc.) get converted to the same code (ie: "AC")?  Thanks.

Viewing all 739 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>