Quantcast
Channel: SCN : All Content - SAP PowerDesigner
Viewing all 638 articles
Browse latest View live

PowerDesigner 16.5 Postgresql 9.2.4 Reverse-engineering Error

$
0
0

I am trying to reverse-engineer a Postgresql schema, version 9.2.,4 that was created from a PowerDesigner 16.5 data model.  The process is unable to extract any of the columns or keys for any of the tables.

 

Unable to list the columns.

SQLSTATE = 22003

Bad value for type short: t

 

Alternate keys have the same problem:

Unable to list the alternate keys

SQLSTATE = 22003

Bad value for type short: t


Series: MSSQL Server reverse engineering (Part2)

$
0
0

Dear Reader,

sorry for the late continue of this series, but there has been a month holiday in wich i wrote my diploma and already a hard month of work after that.

 

As told you at the start article in late november we had the goal to reverse engineer Msql-Server 2008R2 dbs via ODBC for one of our customers and we run into a lot of problems with the DBMS reverse engineer code, mainly the Permissions granted to tables, views, stored procedures and columns.

Thanks to my former 15 years lasting experience with Sybase ASE and the indepth knoledge of the Systemtables i was able to fix all these bugs and we reported them to SAP. There is a bug track now under: http://search.sybase.com/kbx/changerequests?bug_id=752029 (i hope this is public to read).

 

 

 

 

If someone need more details, don´t hasitate to contact me.

 

cheers

dj

Apply Model Changes to Database doesn't do what it says in the documentation

$
0
0

I'm experimenting at the moment with applying changes from a PDM to the database, ready to advise a client on the best way to roll back database changes they didn't like. There are a number of options when Applying Model Changes to the database that look useful in this activity, but the generated SQL doesn't do everything the documentation implies that it ought to do. Specifically, there are no statements generated to move data from the backup tables it creates.

 

In the dialogue 'Apply Model Changes to Database', I can tell PD to create backup tables:

DB Modify Options.jpg

Here's how the documentation describes the purpose of the 'Backup tables' option:

Specifies that any existing table will be copied to a temporary backup during the modification, and then restored to the updated tables. If this option is not selected, then all existing data will be erased.

 

The generated SQL statements rename the existing table to a temporary name, then re-create the table. There are no statements generated to transfer the data from the temporary tables to the new tables.

 

Is the documentation making false promises, or is this a bug? If it's an empty promise, my client is going to be very disappointed, as the options shown above will result in the following SQL, some of which is pointless without statements to transfer the data. In this example, I renamed TABLE_1 to THIS_TABLE_HAS_BEEN_RENAMED:

 

drop table if exists tmp_TABLE_1;

alter table TABLE_1 rename tmp_TABLE_1;

/*==============================================================*/

/* Table: THIS_TABLE_HAS_BEEN_RENAMED                           */

/*==============================================================*/

create table THIS_TABLE_HAS_BEEN_RENAMED

(

   COLUMN_1             char(11)                       null,

   COLUMN_2             numeric(8)                     null

);

drop table if exists tmp_TABLE_1;

 

Are we expected to add our own SQL to transfer the data?

Questions RE: New OLAP Model

$
0
0

I am new to using PowerDesigner for designing multidimensional (cube) models. Currently still on v15.2. Stuck on a few items as follows:

 

a) How do I design for role-playing dimensions from a single data source - e.g Transaction Date & Book Date from the date dimension? Analysis Services will allow for two relationships to the same dimension, but PowerDesigner does not.

 

b) Is there a way to display the keys from the dimensions in the cube - particularly useful for role-playing dimensions.

 

c) Can't get the Analysis Services Add In to work. The error I get is:  Add-in Micrsoft Analysis Services cannot be registered. I have it installed on my machine, so have no idea what this means. We were speculating that it was a versioning issue and that I need a more recent version of PD to connect.

 

d) Not clear what the Analysis Services Add-in enables. Assume it is the only way to forward/reverse engineer a cube design from PowerDesigner to the OLAP Server.

 

Any assistance with these questions would be very much appreciated!! 

 


PowerDesigner Error: You cannot get exclusive access to a model document

$
0
0

I just updated a physical model from the database and was able to save it in the workspace. But when I tried to check it into the repository, I kept getting the error message: You cannot get exclusive access to the document 'my PDM name'. And the warning message says my model file was openned in read-only mode. Does any one have ideas what is causing this and how to fix it? Any help will be appreciated.

Repository - versions

$
0
0


Is it possible to have 2 branches in the repository that would point to the same model. We would like to have control on which models and versions should be published .

 

To do so, we would like to have a branch in the repository that would be dedicated to what is published in our organisation. Let's say for a given model - ModelA, we would have :

 

Branch Development
  ModelA version 4 (current version)
  ModelA version 3
  ModelA version 2
  ModelA version 1

 

Branch Publication
ModelA version 3 (version we want to publish)

 

Is it possible without duplicating models ?

 

PD 16.5 Repository - connection problems

$
0
0

We upgraded to PD 16.5 EBF3 in Sept 2013 and have been connecting to the repository with the PD Proxy with no problems.  The repository is on an Oracle 11g database.  In the past couple of weeks, we can no longer connect to the repository and are receiving the message shown below.  Is there a need to upgrade the proxy again to a newer version?  Thanks for any help.

 

PD Message Window.jpg

Can't check out after upgrade to PD 16.5

$
0
0

Hello,

 

after my upgrade to PowerDesigner 16.5 one of my workstations isn't able to check out and it is getting the following error message.

 

A command sent to the repository proxy failed.

 

We are using the latest release of PD 16.5 SP03 with a SQL Server 2008 as repository database and the 64 Bit proxy service.

The client is using the 64 bit version of PowerDesigner. All the other workstations are working fine no matter if they are on 32 bit or 64 bit plattform.

 

I cant get any further information to this error. Wether the local log file or the proxy log are plotting any error messages.

Are the any special ways to get detaild information to this error?

 

 

kind regards

Christian


VBS-Codeexample: Getting the List of Extended Attributes of an object

$
0
0

Dear Readers,

this article is Related to PD 16.1.0, i had no chance to test it on higher versions and maybe the usecase i describe is already implemented in higher versions.

i had the Problem that i wanted to get the LIST of extended Attributes of an Object, but i couldn´t find a function which serves my needs. So i wrote it.

 

using Output obj.ExtendedAttributesText, you´ll get somethig like this:

(depending on the Extended Attrivutes connected to your object)

 

    {0314A162-4CAB-4A79-8573-B9CAB3523844},EMD_EAM_INF,201=

    {412A2209-6EDA-4F0D-9A49-AD4CD90A201D},Delete_ErrorHandling,4=true

    {D96ADDC0-370E-485C-84EF-127BA7D58CA3},Kommentar,8=Kein ODP

    {D3D34E15-E7A7-4FFC-843F-7815EFC1702E},InformaticaFolder,10=0000_WSHIS

 

The values in {} are the internal ID´s of the EA´s folloed by ea´s name and a size=value tuple

 

Function getExtendedAttributes(obj)

    Dim eaArray , eaValues

    eaArray  = Split(obj.ExtendedAttributesText, "{")

    Dim i

    ReDim eaNames(UBound(eaArray ) - 1)

    For i = 2 To UBound(eaArray )

        eaValues = Split(eaArray (i), ",")

        eaNames(i - 1) = eaValues(1)

    Next 'i

    'For i = 1 To UBound(eaNames)

    '   Output i &":" & eaNames(i)

    'Next 'i

    getExtendedAttributes = eaNames

End Function

 

 

 

Feel free to extend or comment this article , but also to show me the right function to get the List of EA´s in Metamodel Objects Help

 

cu

DJ

Excel Import - how to make case insensitive?

$
0
0

I use Excel Import a lot to load business names/business definitions into table columns to make them meaningful to the business people. One problem I've encountered is that by defaul, Excel Import is case sensitive. For example, if a column code in the Excel file is PROD_CODE, and the real column code in the physical model is Prod_Code, it won't find a match even though I set All Objects Name/code case insensitive under Model Settings under Model Options. Is there something can be done to disable the Excel Import default behavior to make it case insensitive? Thanks in advance for any help!

Migrate from one PD 16 Repository to another

$
0
0

Very short summary:  is there a slick way to move everything from one PD 16.1 repository to another PD 16.1 repository? 

 

We have two PowerDesigner proxy instances, both on the same proxy server. 

We are trying to migrate everything off one of those proxies, onto the other.

(BTW, please pardon if any of my terminology is wrong - this isn't my main focus, and I didn't set up the environment.)

 

We're about to embark on a manual transfer, with members of my team moving hundreds if not thousands of models and related documents from the proxy1 repository, onto our individual PCs, then up onto the proxy2 repository.  That's going to be a huge undertaking, and one which we don't want to perform if there's a more efficient way. 

 

A potential factor in this move is that some of the models to be moved may be very old - possibly reaching back to PowerDesigner V3 or so (and 2003 per the activities below).  I don't know at this point how PowerDesigner 16 is going to react to them.  Further, some may NEVER have to be opened again; I would prefer to avoid wholesale opening of everything that's on proxy1 in the course of moving it.  I'd much rather we moved everything as a lump, and only went through opening anything later, when needed. 

 

Not that I think it's relevant, but I've just found the List of Activities

- proxy1:  covers 10/1/2003 through today, a total of 13454 actions, for an average of 3.55 per day. 

- proxy2:  covers 3/23/2013 through today, a total of 3435 actions, for an average of 10.7 per day on our new instance. 

 

Any migration guidance would be most welcome.  Thanks in advance.

How to debug PowerDesigner VBScripts

$
0
0

Here is what you need to do:

 

  1. Install at least the Professional Version of Microsoft Visual Studio (it will not work using the "Express" Version).
  2. Enable "Just-In-Time"-Debugging. Just for the record, because this will be enabled by default when you install Visual Studio, so usually nothing to do for you
    Background: Just-In-Time debugging means that whenever some VBscript is executed on your PC (i.e. not only in PowerDesigner) and it hits a breakpoint or an exception occurs, you will be asked if you like to debug it and choose a debugger. You can control the JIT debugging in Visual Studio: Extras > Options > Debugging > Just-In-Time. You might want to turn it off at least temporary, if a lot of scripts on your PC fail and you will be prompted each time to start Visual Studio.
  3. Simply put the statement "Stop" into your VBscript, where you like to start debugging. Then you will be prompted to start Visual Studio as soon as the execution reaches this statement.
    10-02-2014 13-46-13.png
    After Visual Studio has started you can use the VS debugger to set additional breakpoints and make use of all the other debugging capabilities.

PowerDesigner 16.5 Search on Repository for Keyword property

$
0
0

Hi team,

 

We want to search on repository root for keyword property.

For example we want a list of all models that keyword is “ABC”, if we search on workspace root for property KeywordList PowerDesginer retrieve all models that have the specific keyword however if we search on repository it doesn’t retrieve any object.

We are searching using feature “Find Objects” in Advanced tab.

 

RepositorySeach.PNG

 

How can we search on repository (PowerDesigner Client and PowerDesigner Portal) for keyword property?

 

Best regards,

Creation of Shortcuts of Relationships Causes the Lost of Parent Field

$
0
0

Hello,

 

I noticed that when I try to copy a relationship from a LDM model A as a shortcut to a LDM model B the value from the Parent field (Properties windows->Joins tab) isn't copied, appearing with the value "<None>".

Consequently, if I generate a physical model as "DBMS set to IBM DB2 UDB 9.7 Common Server", from model B and then try to generate the SQL from the physical model, I get an error because the "Parent" field is set to "<None>".

 

I tested with both PowerDesigner 16.1 EBF11 and PowerDesigner 16.5.

 

Kind regards,

Bruno Silva

Generate test data with dependent columns

$
0
0

Hello,

 

I'm running into the issue, that i can't figure out, how to generate dependent values for dependent columns.

 

a little example:

 

I want to generate test data for the table t_country with the column land_iso_code and land_name

Valid values for land_iso_code are "DEU", "SWE", etc.

My aim is to generate the right name to the code. This means that land_name contains Germany for DEU and Sweden for SWE.

 

Is this possible with PowerDesigner 16.5?

 

kind regards

Christian


PowerDesigner 16.1 Portal Search

$
0
0

When using search in the PowerDesigner 16.1 Portal, no results are returned for objects that exist in the repository.

 

I tried doing the following:

  1. In the Portal, go to Settings.
  2. Under Server Settings, select Search
  3. Click the Rebuild Index button
  4. Now search for the object

but it still doesn't work at all.

Questions before a PowerDesigner purchase

$
0
0
  1. Is it possible to  just install on a Windows 2007 laptop?
  2. In the mutli-tier architecture can the licensed server and database reside on the same server?  Can PowerDesigner be installed on one computer (laptop or desktop) or does it require a server-client machine?
  3. What Database software vendors?  If Oracle, can it be installed on linux? How much space? Does it require its own Oracle home?

 

Thanks,

PowerDesigner and LDAP Integration

$
0
0

Our LDAP directory has user accounts in several OUs that are 'in scope' for PowerDesigner. The desire is also to automatically provision the user profiles.

 

If we configure the LDAP Base value to the root it will include several thousand additional accounts ‘not in scope’.

 

  • Will PowerDesigner support multiple LDAP Base values for user accounts?
  • Can we use the LDAP Filter to target the multiple OUs prior to automatically provision the user profiles?

 

Thanks,

 

Derek

Problems with SP03, anyone?

$
0
0

I installed the latest EBF today - EBF 22452, which is the 64-bit installation for PD 16.5 Service Pack 03 (build 4313). I was going to roll it back to SP02 because of the following issues:

 

  • when I edit a file-based model extension, it doesn't ask me if I want to save the changes
  • when I generate a new model, most of the time it doesn't present me with any options, just goes ahead and does it (assuming the model check doesn't throw up any errors)
  • I couldn't pre-select the comparison options when selecting models in Tool | Compare models
  • When I close a model it doesn't ask me if I want to save changes
    • same applies for projects and the workspace

 

I say that I was going to roll it back, but now it's starting to behave. I did try using System Restore to roll it back, but that failed, something to do with a missing Microsoft file, so I thought I'd try out PD again. Strangely, the more I close down and restart PD, the more it behaves, so that I'm now only suffering from one of the above problems - it doesn't ask me if I want to save the XEM file if I've edited it, it just saves the file.

 

Am I the only one seeing this weird behaviour?

Submit your PD enhancements via ISUG, then we can all vote on them

$
0
0

The Independent Sybase User Group (ISUG) have re-opened the PowerDesigner enhancement forum, which allows you to submit and VOTE FOR enhancements to PowerDesigner. This is the place to submit them if you want your request to be visible, and you want to get other users to back you up.


Here it is - http://my.isug.com/p/is/ty/type=14 (ISUG members only, I think)

Viewing all 638 articles
Browse latest View live


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