From Wikipedia, the free encyclopedia
  (Redirected from Powerbuilder)
Jump to navigation Jump to search
Appeon PowerBuilder
PowerBuilder 2017 Logo.png
Initial releaseJuly 1992
Stable release
PowerBuilder 2019 / May 31, 2019
Preview release
Written inC++ and C#
Operating systemMicrosoft Windows
Available inEnglish, Japanese for the IDE (numerous languages supported for deployed applications)

PowerBuilder is an integrated development environment owned by SAP since the acquisition of Sybase in 2010. On July 5, 2016, SAP and Appeon entered into an agreement whereby Appeon would be responsible for developing, selling, and supporting PowerBuilder.[1]

PowerBuilder has been in use since 1991, peaking around 1998 with around 100,000 users.[2] While PowerBuilder's market share has declined over the years, many applications created with it are still in use today.

Over the years, PowerBuilder has been updated with new standards. In 2010, a major upgrade of PowerBuilder was released to provide support for the Microsoft .NET Framework.[3] In 2014, support was added for OData, dockable windows, and 64-bit native applications.[4] In 2017, support was added for iOS and Android app development.[5]

PowerBuilder 2019 provides new targets to enable developers to rapidly create RESTful Web APIs and non-visual .NET assemblies, in a test-driven manner, using the C# language and the .NET Core framework. And PowerScript client app development was revamped with new UI technologies and cloud architecture.[6]


PowerBuilder has a native data-handling object called a DataWindow, which can be used to create, edit, and display data from the database. This object gives the programmer a number of tools for specifying and controlling user interface appearance and behavior, and also provides simplified access to database content and JSON or XML from Web services. To some extent, the DataWindow frees the programmer from considering the differences between Database Management Systems from different vendors. DataWindow can display data using multiple presentation styles and can connect to various data sources.


PowerBuilder is used primarily for building business CRUD applications.

Although new software products are rarely built with PowerBuilder, many client-server ERP products and line-of-business applications built in the late 1980s to early 2000s with PowerBuilder still provide core database functions for large enterprises in government[7][8][9], higher education,[10], manufacturing, insurance, banking[11], energy, and telecommunications.

Job openings for PowerBuilder developers are readily available but often revolve around maintaining existing applications.


PowerBuilder was originally developed by Powersoft in 1991. Powersoft went public in 1993 and was acquired by Sybase for $904 million in Sybase stock in 1995.[12] In May 2010, SAP announced that it would be acquiring Sybase for $5.8 billion.[13] PowerBuilder languished for a long time for several reasons:

  • Sybase's stock plummeted in 1996 after discovery of inflated sales reports, and many members of the original Powersoft development team left Sybase.
  • Competition from rival tools for building GUIs to databases such as Microsoft Visual Basic, Microsoft Access, and Delphi reduced PowerBuilder's market share.
  • PowerBuilder was slow to move to the Web: long after rivals began to support Web development, it continued to be based on two-tier (traditional fat-client-server) technology. Two-tier approaches, while allowing more rapid development, are inherently less scalable than N-tier solutions (such as Web-based database solutions).[14]

PowerBuilder 12, through compatibility with Web technologies such as ASP.NET and Web services, represented an attempt to regain market share. In order to move developers to newer versions, PowerBuilder 12 provided utilities that attempt to simplify migration.[15]

In December 2013 SAP announced the new version going directly to number 15 and released a beta version.[16] Key features included support for the .NET Framework v4.5, SQL Server 2012, Oracle 12, Windows 8, OData and Dockable Windows. SAP later released this as version 12.6.

On July 5, 2016 Appeon signed an agreement with SAP to develop a new generation of the PowerBuilder development platform. Appeon announced plans for major innovations, ranging from mobile and cloud deployment to test-driven development and continuous integration. Under the terms of the agreement with SAP, Appeon will be responsible for developing, selling and supporting its own offering powered by PowerBuilder technology.[17]

On June 30, 2017 PowerBuilder 2017 was launched by Appeon. This release is the first new installment of PowerBuilder from Appeon and is the first release of PowerBuilder to support Windows 10, iOS, and Android app development.[18]

On May 31, 2019 PowerBuilder 2019 was launched by Appeon. This release is the second new installment of PowerBuilder from Appeon and is the first release of PowerBuilder to support C# development. It provides a new C# IDE, .NET data access objects, C# migration solution, Web API client, and UI themes.[19]

Summary of PowerBuilder features[edit]

PowerScript is an object-oriented programming language. Nearly all of the visual and non-visual objects support inheritance, polymorphism, and encapsulation. The programmer may utilize a common code framework such as PowerBuilder Foundation Classes, also known as PFC, to inherit objects from and leverage pre-existing code.[20]

The DataWindow is the key component (and selling point) of PowerBuilder. The DataWindow offers a visual SQL painter which supports outer joins, unions and subquery operations. It can convert SQL to visual representation and back, so the developer can use native SQL if desired. DataWindow updates are automatic — it produces the proper SQL at runtime based on the DBMS to which the user is currently connected. This feature makes it easier for developers who are not experienced with SQL.

The DataWindow also has the built-in ability to both retrieve data and update data via stored procedures or REST Web APIs as well as import/export JSON data. The RESTClient object introduced in PowerBuilder 2017 facilitates bridging the DataWindow with REST Web APIs and requiring minimal coding.[21]

RDBMS interfaces[edit]

PowerBuilder offers native interfaces to all major databases, as well as ODBC and OLE-DB, in the Enterprise version. There are many connectivity options that allow performance monitoring and tuning, such as:

  1. Integrated security
  2. Tracing of all SQL
  3. Isolation level
  4. Password expiration dialog
  5. Blocking factor
  6. Number of SQL statements to cache
  7. Use connection pool
  8. Thread safety
  9. Trace ODBC API calls

Due to the information about the database schema (such as primary key information) that are stored in PowerBuilder's data dictionary, the code required to implement data display and browsing is greatly simplified, because the dictionary information allows generation of the appropriate SQL behind the scenes.

PowerBuilder supports the following ways of interacting with a database:

DataWindow: this is the simplest approach, relying on automatically generated SQL.

"Embedded SQL"
Embedded SQL supports SELECT, INSERT, UPDATE, DELETE and cursors. This option is used when the developer desires more control than is available with the DataWindow option. Example:
 UPDATE my_employee SET STATUS = 'A';
 IF sqlca.sqlcode<>0 THEN ...
"Dynamic SQL"
This is a form of parameterized SQL, where the user builds a string that may optionally have bind variables. Dynamic SQL may be used to create cursors as well.

Integration with third-party software[edit]

PowerBuilder supports ActiveX and OCX controls, both visible and non-visible. It also can use OLE Automation as a client. However, PowerBuilder supports only late binding, not early binding. Therefore, when using OLE Automation, a dropdown of possible actions is not provided. PowerBuilder can also act as a DDE client or server, providing a further mechanism to interoperate with other applications.

PowerBuilder can make Windows and third-party API calls, and, in general, works well with third-party libraries in DLL files, however it does not directly support callback functions.

Compilation and debugging[edit]

PowerBuilder offers a "/pbdebug" (or variants: "-pbdebug", "-pbd", "/debug", "-debug", "-deb") runtime switch, which creates a log file. This can help track down a bug "in the field", as the user simply emails this log file to the developer. It has another feature which can log all SQL statements to a file. It also has built-in performance profiling, an integrated debugger, context-sensitive help, and an active newsgroup to provide support.

PowerBuilder applications are typically compiled to p-code, which is then interpreted by the PowerBuilder run time. Although it can be compiled to machine code (called c-code), a typical business application does not run a lot faster. However, applications which do an unusually large number of CPU-intensive computations are likely to benefit up to 4,000x faster from compiling to machine code. The main reason why compiling to machine code was not used is an enormous number of errors in PowerBuilder especially in machine code generation.


Extensibility of the language was rather limited for older versions of PowerBuilder. The technologies provided to overcome this (ex. PowerBuilder Native Interface, or PBNI) is rather tricky. To develop a solution that includes external C++ code may not only require a competent C++ developer, but also a PowerBuilder expert to guide the developer through the myriad subtleties of the language and the PowerBuilder Virtual Machine.

Inheritance and object-oriented features are limited to some object types (Windows, Userobjects and Menus). In particular, it is not possible to inherit from a DataWindow. A PowerBuilder user cannot open a descendant and a parent at the same time in the painter, though they can see all ancestors' code while working on the descendant.

To address these criticisms, Appeon has set a new roadmap for PowerBuilder, which it publishes openly on the Appeon Website.[22] The (classic) PowerScript language itself, which is still available for compatibility reasons, is known as "a language built around the DataWindow" amongst developers with PowerBuilder being the "IDE built around the DataWindow". C# development centered around a new .NET DataWindow with automated migration of existing DataWindows was introduced in PowerBuilder 2019.[23]


Since Appeon took over PowerBuilder, it has launched a new official community website for PowerBuilder developers. This community website offers technical articles, webinars, and Q&A, which are authored by community users. Appeon also hosts an annual user conference called Appeon Elevate, and recordings of the conference sessions are available from the conference website. There are a number of local user groups around the world that cooperate with Appeon to deliver abridged versions of the conference in seminar format and local language. [24]

There are also a variety of grass roots community groups and resources for PowerBuilder developers to share and convene. PowerBuilderTV[25] is series of webinars by PowerBuilder users and vendors that tend to focus on third party add-ons. PowerBuilder Central[26] is a community initiative to create a single source for third party add-ons and services.

PowerBuilder Tools[edit]

  • Appeon PowerServer Mobile - Develop native mobile applications with PowerBuilder that runs on iOS (iPad and iPhone) and Android (tablets and phones) with support for the mobile device APIs and Apache Cordova plugins.[27]
  • Appeon PowerServer Web - Deploys existing or new PowerBuilder projects as Web applications that runs natively on either .NET or Java servers with support for most PowerBuilder features.[28]
  • Visual Expert for PowerBuilder - Visual Expert helps in sharing the knowledge of your applications. It also automates impact analysis and checks code quality.[29]
  • Enable Multilingual - Enable makes PowerBuilder applications multilingual quickly and easily. Using Enable, developers can only need to make a few small changes to the original PowerBuilder code to go from monolingual to multilingual.[30]
  • ProDiff for PowerBuilder - ProDiff is designed to highlight the differences between versions of PowerBuilder development source code.[31]
  • Visual Guard for PowerBuilder - Visual Guard is an access control and application-level permissions tool. It helps you centralize view and control of users and their rights in PowerBuilder applications.[32]
  • Customization Studio for PowerBuilder - Customization Studio allows end-users to modify the executable version of a PowerBuilder application without changing the source code.[33]
  • STD Framework for PowerBuilder - A Free object oriented development framework for PowerBuilder Classic, Web Services, Appeon PowerServer Web and Mobile.[34]
  • PB Ultimate Suite - A suite of controls, written in PowerScript, that modernizes the GUI of PowerBuilder applications; PB Ultimate Suite gives applications a contemporary look and makes them more user-friendly.[35]
  • AscentialTest - Automated testing for PowerBuilder, web, and others. Deep integration with the PowerBuilder VM api's allow AT to see and understand PB objects.
  • PowerGen - Automated build and regeneration of PowerBuilder applications. Supports building directly from Source Control.[36]


  1. ^ Martin Berner. "Appeon Signs Agreement with SAP to Bring Major Innovations to PowerBuilder". SAP Community Network.
  2. ^ "New features in PowerBuilder 12.0". Sybase.
  3. ^ "Sybase PowerBuilder tool readied for Microsoft's .Net". Sybase.
  4. ^ "SAP releases PowerBuilder version 12.6". SAP.
  5. ^ "Appeon Launches PowerBuilder 2017 With Cross-Platform Mobile Development Capability". Appeon.
  6. ^ "PowerBuilder 2019 Press Release". Appeon.
  7. ^ "PowerBuilder History - How Did It Evolve? | PowerBuilder Journal". pbdj.sys-con.com.
  8. ^ "PowerBuilder World Tour". powerbuilder-world-tour.com.
  9. ^ "Superior Court of Orange County Applications Developer I/II - Traffic and Criminal Case Management System Developer Job in Orange, CA". Glassdoor.
  10. ^ "PowerCampus™ by Ellucian". Ellucian | The leader in higher education technology.
  11. ^ "The Bank of New York Mellon Specialist Developer (Mainframe DB2/IMS, CICS, IMS/DC, Powerbuilder, .Net) Job in New York, NY". Glassdoor.
  12. ^ "Powersoft History PowerBuilder History". lannigan.org.
  13. ^ "SAP to Acquire Sybase, Inc" (Press release). SAP.
  14. ^ Microsoft Corporation. The Three tier application model. https://msdn.microsoft.com/en-us/library/aa480455.aspx
  15. ^ Sybase.com. Sybase.com. Retrieved on 2013-12-09.
  16. ^ "PowerBuilder 15 beta is here!". sap.com.
  17. ^ https://blogs.sap.com/2016/07/05/appeon-signs-agreement-with-sap-to-bring-major-innovations-to-powerbuilder-2/
  18. ^ http://www.prnewswire.com/news-releases/appeon-launches-powerbuilder-2017-with-cross-platform-mobile-development-capability-300482375.html
  19. ^ "PowerBuilder 2019 Press Release". Appeon.
  20. ^ http://www.ecocion.com/about-us/publications/it-development/sybase-powerbuilder/powerbuilder-foundation-class-help
  21. ^ "RESTClient Tutorial - Calling Web APIs". Appeon.
  22. ^ "PowerBuilder Roadmap". Appeon.
  23. ^ "PowerBuilder .NET API Reference". Appeon.
  24. ^ "PowerBuilder User Group Meeting in Germany". Appeon.
  25. ^ "PowerBuilderTV". PowerBuilderTV.
  26. ^ "PowerBuilder Central - About Us". powerbuildercentral.com.
  27. ^ "Appeon PowerServer Mobile Product Page". Appeon.
  28. ^ "Appeon PowerServer Web Product Page". Appeon.
  29. ^ "Visual Expert Product Page". Novalys.
  30. ^ "Enable Multilingual Product Page". Novalys.
  31. ^ "ProDiff Product Page". PBDR Ltd.
  32. ^ "Visual Guard Product Page". Novalys.
  33. ^ "Customization Studio Product Page". Novalys.
  34. ^ Chris Pollach. "STD Framework Download Page".
  35. ^ "PB Ultimate Suite Product Page". Novalys.
  36. ^ https://ecrane.com/index.php/powergen-our-flagship-product/powergen-overview

External links[edit]