PowerBuilder 12.5.2 EBF

Is there a location for the current EBF files? I'm running PM 12.5.2 Build 5583

Go to SAP Service Marketplace Download Center: https://service.sap.com/swdc
Then go to
Support Packages and Patches - P --> SYBASE POWERBUILDER --> SYBASE POWERBUILDER 12.5
You should see the new patches
HTH
Jacob

Similar Messages

  • Can't retrieve data dictionary items in 8.0.5 DB from Powerbuilder

    Hello all,
    I'm using Powerbuilder 7.0 in an actual project.
    The database is Oracle 8.0.5.1.0 for Linux (Distribution is SuSE 6.0)
    There's some strange behaviour which prevents developing with the database:
    - Connected as user system in Powerbuilder. No problems during connect. Trace activated.
    - Appears grapical table list. When trying to retrieve column attributes of selected table Powerbuilder hangs. The grants on the selected dictionary views have been checked and user system has been granted role dba.
    These are the traced statements Only the last one doesn't work - doesn't come back with a result.
    WORKS: SELECT OWNER, TABLE_NAME, TABLE_TYPE
    FROM SYS.ALL_CATALOG WHERE OWNER <> 'SYS'
    AND TABLE_TYPE IN ('TABLE','VIEW') (0 MilliSeconds)
    WORKS: SELECT S.OWNER, S.SYNONYM_NAME
    FROM SYS.ALL_SYNONYMS S, SYS.ALL_OBJECTS O
    WHERE (S.TABLE_OWNER <> 'SYS'
    AND O.OBJECT_NAME = S.TABLE_NAME
    AND O.OWNER = S.TABLE_OWNER
    AND O.OBJECT_TYPE IN ('VIEW','TABLE'))
    UNION SELECT Q.OWNER, Q.SYNONYM_NAME
    FROM SYS.ALL_SYNONYMS Q
    WHERE (Q.TABLE_OWNER <> 'SYS'
    AND Q.DB_LINK IS NOT NULL) (0 MilliSeconds) (5518 MilliSeconds)
    COLUMNS INFORMATION: TABLE=ac OWNER=geco2
    WORKS: SELECT COLUMN_NAME, COLUMN_ID, DATA_TYPE_OWNER, DATA_TYPE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE,
    NULLABLE, DATA_DEFAULT
    FROM SYS.ALL_TAB_COLUMNS
    WHERE TABLE_NAME = 'AC'
    AND OWNER = 'GECO2'
    ORDER BY COLUMN_ID (0 MilliSeconds) (981 MilliSeconds)
    WORKS: SELECT INDEX_NAME, UNIQUENESS
    FROM SYS.ALL_INDEXES
    WHERE TABLE_OWNER = 'GECO2'
    AND TABLE_NAME = 'AC' (0 MilliSeconds)
    WORKS: SELECT COLUMN_NAME, COLUMN_POSITION
    FROM SYS.ALL_IND_COLUMNS
    WHERE INDEX_NAME = 'GECO_ACC_MAIS_ID'
    AND TABLE_NAME = 'AC'
    AND TABLE_OWNER = 'GECO2' (0 MilliSeconds)
    (29c0020): PRIMARY KEY RETRIEVE:
    APPLICATION HANGS: SELECT SYS.ALL_CONS_COLUMNS.COLUMN_NAME, SYS.ALL_CONSTRAINTS.CONSTRAINT_NAME
    FROM SYS.ALL_CONSTRAINTS,SYS.ALL_CONS_COLUMNS
    WHERE SYS.ALL_CONSTRAINTS.CONSTRAINT_TYPE ='P'
    AND SYS.ALL_CONSTRAINTS.TABLE_NAME = 'AC'
    AND SYS.ALL_CONSTRAINTS.OWNER = 'GECO2'
    AND SYS.ALL_CONSTRAINTS.CONSTRAINT_NAME = SYS.ALL_CONS_COLUMNS.CONSTRAINT_NAME
    AND SYS.ALL_CONSTRAINTS.TABLE_NAME = SYS.ALL_CONS_COLUMNS.TABLE_NAME
    AND SYS.ALL_CONSTRAINTS.OWNER = SYS.ALL_CONS_COLUMNS.OWNER
    ORDER BY SYS.ALL_CONSTRAINTS.CONSTRAINT_NAME,SYS.ALL_CONS_COLUMNS.POSITION (0 MilliSeconds)
    I've rerun CATALOG.SQL and CATPROC.SQL; I've installed an 8.0.5-Database under NT and had no problem.
    A collegue working with the Java IDE Forti and connecting with JDBC has a very similar problem.
    At the moment the project can't go on because of this problem.
    Any hint would be welcome
    Thanks
    Juergen
    null

    Hi all, thx for your reply, i have found where is my error :)
    In dbSelectUniqueRow() method,
    //put the attr value into arrayList                               
    for(int j=1; j<=fieldList.size(); j++) {                                       
    columnValues.add((String)rs.getObject(j));
      }i shouldn't put all the value into the arrayList, instead i should put in the primary key,
    Then in client side, I can cast it to remoteInterface. After that, i can retrieve the value in client using
    Staff s = (Staff)home.FindByName("XXX");

  • How to track the report calling from powerbuilder?

    Suppose I have a powerbuilder application myapp. there are many reports created with pb. There are 2 possible for pb report:
    datawindow get data from stored procedure
    datawindow get date with sql.
    myapp use a specific login mylogin to connect to sybase ase.
    then I want to track who and when the report running. how to implement it? any way without modify myapp code?
    I tried with sybase audit, but myapp connect with mylogin. So anyone run myapp will be same login.
    what's the solution for this case?

    We did this with Proxy Authorization.  That's where you connect to the database with one user, but you can assume the authorization rights of another user for specific purposes.
    So your app would have to connect with a user's individual ID, but then you'd issue 'set proxy myLogin' to give them rights to run the reports and access those database tables.  If they ever connect outside your application (with Crystal Reports or some other 3rd party tool), they'd be connecting as their unique login and wouldn't have rights to the underlying database tables unless they also knew to issue the 'set proxy myLogin' command.

  • Crystal Report Print Engine API calls  from Powerbuilder

    I am using Crystal Report XI R2 with Powerbuilder 9.0. I  am using Crystal Report API calls using crpe32.dll to display my reports. When i run my reports from my development machine where Crystal Reports is installed the reports run properly, but when i deploy my application on a server where Crystal Reports is not installed the report gives me error "Report has not been opened" , Error 599.
    The database logon info is properly set in the RPT file.
    I want to know whether it is possible to run reports without installing Crystal Reports and how do you do it?

    Somehow, you will have to install the CR runtime...
    Probably the best way will be to create a deployment project using a utility such as InstallShield,  Wise, MS Visual Installer, etc. Use the RDC merge modules and  add the crpe32.dll to the deployment project, ensuring the crpe32.dll is installed into the ...\3.5\bin directory. The Correct msm files are here:
    https://smpdl.sap-ag.de/~sapidp/012002523100009381702008E/crxir2sp4_rdc_mm.zip
    BTW., using the print engine APIs... Not something recommended, nor supported. Last header files for the crpe APIs shipped in version 9...
    Ludek

  • Powerbuilder application crashes after upgrade to 12.5.2 (build 5006)

    I have already seen few similar posts on this forum for similar issue. However, I feel mine is different from those and could be some basic steps am missing. Thanks in advance for any comments.
    We are evaluating the effort and benefits of migrating our PB 10.2.1 (build 9731) application to  PB 12.5 Classic. After downloading the trial version from the SAP site, I could migrate the application easily with only a handful of warnings. However, while running the application either from build (EXE) or from IDE, it crashes (windows application failure) frequently. In addition to that, few of our application screens opens as blank screen (doesn’t display anything in the DW attached).
    My operating system is Windows 7 (32 bit) Service Pack 1. The application has many calls external DLLs (both windows standard and custom), as samples at the bottom. I believe that the correct (from PB 12.5) DLLs are copied to Powerbuilder home directory (C:\Software\Sybase\PowerBuilder 12.5 & C:\Software\Sybase\Shared\PowerBuilder) and the source code directory in my attempt to ensure that there are no issues with DLLs. However, initially I had installed powerbuilder 12.5 also under the same root as Power builder 10.0, but as I read few posts that DLLs from different version residing in same place can cause issues, uninstalled and installed PB 12.5 on different location.
    Our PB application also interact with the .Net modules of the application by communicating through a custom DLL. However, that seems still working and I am able to open the .Net screens from the migrated application.
    Below are the main scenarios in which the application crashes and every time I get a DLL error as given below.
    1. While running the application from IDE and selecting ‘Exit’ from the main window. This will close any instantiated objects and close the mutex by calling the windows API.
    function ulong CreateMutexA(ulong lpMutexAttributes, boolean bInitialOwner, ref string lpName) library "kernel32.dll" alias for "CreateMutexW" function ulong GetLastError() library "kernel32.dll" alias for "GetLastError;Ansi"
    function ulong CloseHandle(ulong hMutex) library  "kernel32.dll" alias for "CloseHandle;Ansi"
    This will result in the below crash.
    Faulting application name: PB125.EXE, version: 12.5.2.5006, time stamp: 0x50f93412
    Faulting module name: kernel32.dll, version: 6.1.7601.17932, time stamp: 0x503275b9
    Exception code: 0xc0000005 Fault offset: 0x0004c372
    Faulting process id: 0x2bdc
    Faulting application start time: 0x01cf3e72371227c9
    Faulting application path: C:\Software\Sybase\PowerBuilder 12.5\PB125.EXE
    Faulting module path: C:\Windows\system32\kernel32.dll
    Report Id: 8feef8fc-aa65-11e3-8049-f500274aecdc
    2. Opening of certain windows results in the below crash. If I try to debug the code and move mouse over the line of code being executed, then also I get the same crash. I don’t do the mouse move then I can proceed with the same line, however it will crash at a later line calling ‘classname’.
    Problem Event Name: APPCRASH
    Application Name: PB125.EXE
    Application Version: 12.5.2.5006
    Application Timestamp: 50f93412
    Fault Module Name: PBVM125.dll
    Fault Module Version: 12.5.2.5006
    Fault Module Timestamp: 50f93437
    Exception Code: c0000005
    Exception Offset: 00175357
    OS Version: 6.1.7601.2.1.0.256.48
    Locale ID: 3081
    Additional Information 1: 38ca
    Additional Information 2: 38ca6ad0537dbd0555785bd862b8e94f
    Additional Information 3: 0cd5
    Additional Information 4: 0cd54a5b6672f15bf2ca366539d89c12
    3. Few of the application screen opens but doesn’t display the datawindow attached to it.

    ... many calls external DLLs (both windows standard and custom),
    You have a very complex application and it is unlikely that you will receive much help in this type of setting.  As Chris has already pointed out, previous efforts appear to have been done in a sloppy manner; something indicated by the ANSI qualifiers on API functions that are not needed or relevant.  In addition, the PB alias of CreateMutexA for the API function CreateMutexW is also suggestive.
    I believe that the correct (from PB 12.5) DLLs are copied to Powerbuilder home directory (C:\Software\Sybase\PowerBuilder 12.5 & C:\Software\Sybase\Shared\PowerBuilder)
    You should be very very careful about doing things like this.  One should not simply scatter DLLs across directories without very good reasons as it often leads to strange problems.  On a machine with the IDE installed, you should allow PB to install everything where it wants them.  Copying or moving files is something done as a last resort - it is certainly something that you need to document in case you need to undo it or redo it at a later time.
    Lastly, you might reconsider attempting this with the trial version.  I don't how "current" the trial version is but I suspect it might be a bit buggier than the most current maintenance build.  I'm guessing that you will have to do a bit more than recompiling to get the functionality related to "opening .Net screens" working.  It might help to try creating a new application and put in some basic functionality to interact with all of these external processes, screens, dlls, etc since I suspect this is where the bulk of your problems exist.

  • Setting up the EBM header in EBF

    Hi - I have a query regarding the EBM header population in EBF while transforming from requesting service EBM message to provider EBM. Is it going to be header to header assignment? Or is it requires new header with information pulled from request message header?
    I have tried to figure out this by looking at AIA sample code that comes with FP but no clue. It is just header to header mapping.
    Thanks in advance!!
    Husni
    Edited by: user8747486 on Jan 11, 2010 5:37 AM

    New header with info pulled from request header.
    Take a look at the transformations in the O2C PIP's InterfaceSalesOrderToFulfillmentEBF under AIAHOME/PIPS/Core/EBF/InterfaceSalesOrderToFulfillmentEBF for examples.

  • Problems with using Powerbuilder 12.0 on Windows 7 64-bit

    Hi,
    Until today, I was developing applications using Powerbuilder 12.0 Build 5530 (Classic ; not .NET) on a Windows XP laptop.
    I work within a small team, so I routinely use the 'Source Control' (PB Native) feature.
    Today, I installed Powerbuilder 12.0 Build 5530 on my new laptop, a Windows 7 64-bit laptop.
    I have already encountered 2 problems:
    1) I have filled the required info for 'Source Control' ; I see the 'Check out'/'Check in' actions in the contextual menu on PB objects but those actions stay disabled.
    [see "PB_SourceControl_Problem.png"]
    2) When I try to open the 'Deploy' object, I get an error message.
    [see "PB_Deploy_Problem_1.png" and "PB_Deploy_Problem_2.png"]
    The other member of the development team uses Powerbuilder 12.0 Build 5530 on a Windows 7 32-bit laptop without any problem.
    As anyone encountered the same problem ?
    And if so, is there a solution ?
    Thanks in advance for the help.

    Sophie,
    That one error message that you are getting "Unable to open this project because the add-on software that was used to create it could not be found" happens when there are multiple pb runtime dlls on the machine.
    Is there any chance you have multiple pb runtime dlls like the pbvm120.dll on your machine?
    Thanks,
    Beverly Duquette

  • Using Manifest File in PowerBuilder 5

    Hi,
    We are working in an old project which was developed in PowerBuilder 5.0,
    We followed the below steps to get the list of DLL and OCX getting register with our Application
    1. Searched in application installation path.
    2. Searched in source code.
    Is there any other way to get the list of components and reference list?
    We need the above list to create manifest file.
    We have another big challenge that whether Manifest file is work with PB5 or not? If yes,how to make PB5 app to communicate with manifest?
    Please help...
    Thanks,
    Sundar

    Roland,
    Please help me to find third party DLL and mention the DLLs to be register.
    I hope that the below dlls are related to PowerBuilder 5.0 and need not to register
    Pbbgr050.dll, Pbdbt050.dll, Pbdwe050.dll, Pbodb050.dll, Pbroi050.dll, Pbrtc050.dll, Pbrte050.dll, Pbrtf050.dll, Pbshr050.dll, Pbtyp050.dll
    I have doubt on following DLLs and ocx
    msvcrt.dll, MSVCRT40.dll, OLEPRO32.dll, Pfccom32.dll, CTDATE32.ocx
    Please confirm above 4 DLLs and 1 OCX are need to register?
    Thanks,
    Sundar

  • Boolean Datatype declaration in PowerBuilder...Please HELP

    Hi,
    I have Oracle Stored procedure with last parameter as boolean, When I am calling this stored procedure in
    PowerBuilder 6.5 in the DECLARE I am getting compilation error and it is not working...
    I heard that there is some round about way to solve this problem...
    Any one knows the solution...please help me out...

    I don't know about PowerBuilder but we had a similar problem with Java not understanding Oracle's BOOLEAN implementation. I'm afraid we solved this by substituting a VARCHAR2 parameter with values of 'TRUE' and 'FALSE'. Not very elegant I'm afraid, but if your stored procedure is in a package you can at least overload it.
    cheers, APC

  • Dockable Windows: New Features Guide for SAP PowerBuilder 12.6

    I copied the example in the SAP document: PowerBuilder-NewFeatures.pdf at page 21.
    4.2.7
    Opening Docked Windows and Tabbed Document Windows
    Sample code for opening docked windows and tabbed documents.
    Context
    Procedure
    1. Create a window w_sheet_any as a main!window type.
    2. In the open event of w_sheet_any, add this code:
    string ls_i
    ls_i = Message.stringparm
    if not isnull(ls_i) and ls_i <> "" then
    this.title = ls_i
    end if
    3. Create an MDIDock window w_mdidock_dockstate and set any menu in it.
    4. In the open event of w_mdidock_dockstate, add this code:
    window win[]
    OpenSheetWithParmDocked(win[1], "1", "w_sheet_any", this, WindowDockLeft!, "")
    OpenSheetWithParmInTabGroup(win[2], "2", "w_sheet_any", this, "")                                             <<<<<<<<========
    OpensheetWithParmInTabGroup(win[3], "3", "w_sheet_any", win[1], "")
    OpenSheetWithParmAsDocument(win[4], "4", "w_sheet_any", this, "")
    OpenSheetWithParmAsDocument(win[5], "5", "w_sheet_any", win[4], "")
    OpenSheetWithParmAsDocument(win[6], "6", "w_sheet_any", this, "", false)
    OpenSheetWithParmAsDocument(win[7], "7", "w_sheet_any", win[5], "")
    OpenSheetWithParmAsDocument(win[8], "8", "w_sheet_any", win[6], "")
    5. Run the application.
    You will see windows 1 and 3 as a tabbed group, with the tabs at the bottom. Sheets 4, 5, and 7 appear as
    tabbed doc
    WHY THE SECOND OPEN DOES NOT WORK ?

    Hi.
    Even in beta the example provided needed some corrections. But instead of using the example on the pdf, why don't you take a look at the MDIDockingDemo Project included in the code examples? (See the screenshot... It's not PB.NET )
    Andreas.

  • Powerbuilder mysql catalog tables

    I use PowerBuilder 12.5 with mysql 5.6.12 via ODBC MySQL 5.2 Unicode driver, but in database painter I get "Catalog tables could not be created and are not available for use".
    In database properties->system tab->Powerbuilder Catalog Table Owner I have tried both root and another mysql user.
    Catalog tables already exist in the database.

    There are a couple of steps for this...
    You need to create a new Transaction object.  So for example I created one and named it "nvo_trans_mysql".
    Then go to "Declare Local External Functions" area of the Transaction object and declare your stored procedures.  This is how I did mine.
      3.  Now go to your application object.  Click on the Properties.  Then click on the additional properties.  Then change the SQLCA entry to your new Transaction object.
    4.  Now to call the Stored Procedure in your code, do like shown below.

  • Using Oracle Stored Proc as Data Source for PowerBuilder Data Window Object

    Hi,
    I'm trying to use an Oracle stored procedure as the data source for a PowerBuilder data window object. I'm using the following (which is a variation of an example given on Sybase's web site, with the appropriate database/column name changes and use of %TYPE):
    ======================
    CREATE OR REPLACE PACKAGE pkg_dw_sp_example
    AS
    TYPE typ_example_rec1 IS RECORD(
    v_comcodsa st_sa.comcodsa%TYPE,
    v_comnamsa st_sa.comnamsa%TYPE,
    v_cocitysa st_sa.cocitysa%TYPE);
    TYPE cur_example_cur1 IS REF CURSOR;
    RETURN typ_example_rec1;
    END;
    ======================
    CREATE OR REPLACE PROCEDURE sp_dw_example1
    (arg_teamid IN st_sa.comcodsa%TYPE,
    cur_team IN OUT pkg_dw_sp_example.cur_example_cur1)
    AS
    BEGIN
    OPEN cur_team FOR
              SELECT comcodsa,
              comnamsa,
              cocitysa
              FROM st_sa
              WHERE st_sa.comcodha = arg_teamid;
    END sp_dw_example1;
    ======================
    The package is created okay, but the procedure is saved with compilation errors. Unfortunately, Oracle does not indicate what the errors are (great product), so I have no idea what it is complaining about.
    Questions:
    1) Can anyone point me to/or provide a better example?
    2) The examples in books I have seen all would have declared the procedure in the package specification - is the above valid?
    3) This is a PowerBuilder specific question, but if the package does not show up in the stored procedure list when creating a data window object, how does one use it as a data source?
    Oracle 8.1.7
    PowerBuilder 8.0.1
    Thanks,
    Ed Holloman

    1) Everything looks fine with your code. You did not mention the environment you are compiling your code in, but if it is SQL*Plus, you can type 'show errors' after the compile and it will list the errors and line numbers for you.
    2) You can include the procedure in the package - in which case you would have a procedure declaration in the spec and the actual procedure in the body. You would no longer include the 'create or replace' - the declaration and procedure would just start with 'procedure'. The spec would look include:
    PROCEDURE sp_dw_example1
      (arg_teamid IN st_sa.comcodsa%TYPE,
       cur_team OUT cur_example_cur1);Note the removal of the package reference (since we are now IN the package) and the second parameter is just OUT instead of IN OUT.
    3) Not much, but I know that in PB8, our developers have said they have visibility now to the package when creating a DW - something they didn't have in PB7. Previously, we had to create a dummy standalone procedure that they would select and they would later modify the code to include the package prefix.
    Hope this helps a bit.

  • Not able to get Oracle stored procedure return value passed to Powerbuilder

    I have an Oracle Stored Procedure that receives a string value and returns a string value..  When I call it from Powerbuilder, it executes but does not send the return value of a string back.  I am trying to encrypt a string in Powerbuilder, pass it to a .net web page and then decrypt so I can check the security tables for permissions to view the web page.  I have tried creating a simple stored procedure that takes a string and returns a string to Powerbuilder; but even that is not working.  Any suggesstions?
    Oracle Procedure:
    CREATE OR REPLACE
    PROCEDURE               TESTINOUT_VARCHAR
    ( P_STRING IN VARCHAR2, P_OUT OUT VARCHAR2)
    IS
       BEGIN  
          P_OUT := P_STRING || 'TESTING';
    END TESTINOUT_VARCHAR;
    Powerbuilder Call:
    string p_string ='                                 '
    Declare TestingString procedure for TESTINOUT_VARCHAR(:ls_group, :p_out) using SQLCA
    Execute TestingString;
    IF SQLCA.CODE = 0 THEN
    FETCH TestingString into:p_out;
    End If
    p_string = p_out;

    Hello John,
    I'm not sure if you already found a solution using an ODBC connection.
    Below the solution with an RPC call:
    Create a user object (uo_trans) of type transaction with the following local external function:
    subroutine TESTINOUT_VARCHAR(string P_STRING,ref string P_OUT) RPCFUNC
    Execute this script
    uo_trans l_transaction
    string ls_outparam
    l_transaction = CREATE uo_trans
    // Profile ODBC_ORA
    l_transaction.DBMS = "ODBC"
    l_transaction.AutoCommit = False
    l_transaction.DBParm = "ConnectString='DSN=ODBC_ORA;UID=system;PWD=<xxxxxx>'"
    connect using l_transaction;
    ls_outparam = space (30)
    l_transaction.testinout_varchar( sle_1.text, ls_outparam)
    messagebox("OUT parameter", ls_outparam)
    disconnect using l_transaction;
    DESTROY l_transaction

  • PowerBuilder connectivity with Oracle 9i or 10g

    We are working on a project that involves migration of data from Informix to Oracle 9i/10g. The application is built on PowerBuilder 6.0.
    We need to have the application continue to run in PowerBuilder 6.0. We are trying to find out if necessary drivers are available in the market to establish connectivity between PB6.0 and Oracle 9i or 10g.
    It will be of great help if you could share any information you may have on this.

    I know it's possible-- I work at a site that is running PowerBuilder and Oracle 9.2. I don't do much work with the PowerBuilder app, but I thought it was just using ODBC to make the database connection. If so, you should just be able to use Oracle's ODBC drivers.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to get the debug sqlserver procedure calling from powerbuilder

    How to get sqlserver debug while calling   the procedure from PowerBuilder. Please can you help
    Many Thanks
    Pol

    You are better off doing this through the native SQL server tools.  You can debug your PB code to find the variables being sent to the stored proc (if any) from PB and then use them in SQL Server Management Studio or similar.

Maybe you are looking for