PowerBuilder migration, for the apps that were never going to be upgraded
A PowerBuilder 9 or 12.5 application still runs order entry, claims or the production schedule, on a 32-bit runtime and a database client somebody installed by hand. Appeon sells a direct upgrade, and for plenty of teams that is the right answer. When it isn’t, I move the application off PowerBuilder and prove, DataWindow by DataWindow, that the numbers did not change.
Order 7731 PARITY ✓
Illustrative screens, fictional data. The total is the obvious check; the save rule underneath it is the one that bites.
The situation you are probably in
Somewhere in the late 1990s a team built it in PowerBuilder against Sybase ASE, SQL Anywhere, Oracle or SQL Server. The team moved on and the PBLs stayed. The product itself changed hands more often than the app did: Powersoft shipped PowerBuilder in 1991, Sybase bought Powersoft in 1995, SAP bought Sybase in 2010, and since a 2016 agreement with SAP, Appeon develops and sells it. What owners usually describe:
- The version you run has been out of support for years. Appeon’s first release, PowerBuilder 2017, was built on the SAP 12.6 code, and Appeon says it cannot provide maintenance or technical support for 12.6 and earlier. The current line is PowerBuilder 2025 R2, sold by annual subscription only.
- The application is 32-bit. PowerBuilder could not build a 64-bit executable before 12.5.1, so every client PC carries a 32-bit Oracle client or 32-bit ODBC driver, set up in the
SysWOW64copy of the ODBC administrator that half of IT has never opened. - Deployment is a folder of version-stamped DLLs (
pbvm90.dll,pbdwe90.dll, a database interface such aspbmss90.dll) copied next to the EXE and its PBDs. One stray DLL from another PB version on the path, and that machine will not start the app. - The real business logic sits in the DataWindows: the SELECT, computed columns, validation expressions, sort and filter strings, and the update properties that decide which columns go into the WHERE clause on save. That last setting is your concurrency rule. Nobody wrote it down.
- The source lives in binary PBLs, and the only IDE that opens them is on one developer’s VM, or on an install CD in somebody’s drawer.
How we migrate PowerBuilder systems
-
Assessment: map what you actually have
We inventory the code, data, reports, integrations and — crucially — which parts are still used. You get a written, risk-ranked migration roadmap at a fixed price, yours to keep whoever executes it.
-
Parity harness: capture today’s truth
Before any new code, we build an automated harness that runs your real workflows on the existing system and records the results — totals, calculated fields, rounding, sort orders. That becomes the contract the new system must satisfy; behaviour is preserved because it is tested, not assumed.
-
Data first, verifiably
A repeatable pipeline moves your data into SQL Server or PostgreSQL with counts and checksums on every run — encodings, null and date semantics, and any business logic hidden in indexes handled explicitly. The mirror runs from day one, so it is always fresh.
-
Rebuild in slices on .NET
Modules are rebuilt on .NET 8 against the mirrored data. Read-only functions (reports, lookups) move first for instant, low-risk value; write functions cut over one workflow at a time, each gated by parity. There is no weekend where everything switches at once.
-
Cutover with a way back
When the last write path passes parity, the old system becomes read-only, then an archive. You get the full parity report — evidence, not assurances — plus the documentation the legacy system never had.
What survives the migration
- DataWindow behaviour retrieval SQL, computed fields, edit masks and update settings, each rebuilt and checked against what the old DataWindow returns for the same rows.
- Your database often stays where it is. An app on SQL Server or Oracle may need no data move at all; ASE or SQL Anywhere moves with row counts and checksums, procedures and triggers included.
- Printed DataWindow reports group subtotals and crosstabs compared on the same retrieval arguments, to the cent.
- Keyboard habits tab order and the shortcuts people press without looking. Someone who keys forty orders an hour should not slow down.
What does not survive: the 32-bit client install, the per-PC DLL folder, the DSN configured by hand on every desk, and a dependence on one IDE version that opens on one VM.
Related
Many PowerBuilder shops also ran VB6 tools; the same approach is on VB6 to .NET. Whether to rewrite, convert or keep the old app running is laid out in rewrite vs convert vs wrap.
Frequently asked questions
Shouldn’t we just upgrade to Appeon PowerBuilder?
Maybe, and I will say so if the assessment points there. Appeon states that customers on PowerBuilder 6 through 12.6 can move directly to the current release with minimal code changes, and its Migration Assistant flags the usual work, such as Unicode and PFC updates. If you have people who know PowerScript, that path is often the cheapest. I come in when the goal is to leave PowerBuilder, or when you want an independent comparison first. The parity harness works on either path: it checks an upgraded build against the old one as readily as a .NET rebuild.
We are on PowerBuilder 9. What changes in any newer version?
Strings. PowerBuilder 10 moved to Unicode, while PBLs from 7 to 9 store source as DBCS. External function declarations that pass strings to Windows or vendor DLLs show it first. A PB 9 PBL also cannot be browsed in a newer Library painter until upgraded, and once upgraded it will not open in the old IDE again, so the first job is backing up every PBL.
Can the DataWindows be converted automatically?
Their definitions can be read automatically: exported as text, a DataWindow shows its SQL, columns, expressions and update settings, and that is how the inventory gets built. Turning one into a working web grid is a rebuild, checked against the old DataWindow’s output on the same data.
Our database is SQL Anywhere or Sybase ASE. Does it have to move?
Not necessarily. SQL Anywhere began as Watcom SQL, which Powersoft bought in 1994 and shipped with PowerBuilder; that is why so many small PB applications run on it. Moving the database is a separate decision with its own cost. ASE’s Transact-SQL shares a history with SQL Server, so its procedures port more easily than most, and each one still gets tested.
Can both applications run at the same time during the migration?
Usually yes, and more easily than with file-based systems. The old PowerBuilder client and the new application can work against the same tables, so screens move one at a time with no sync layer in between.
What do you need from us to start the assessment?
The PBLs, the database schema, and the runtime folder from one PC where the app works today. If the PBLs are gone and only the EXE and PBDs remain, say so in the first email; it changes the plan and the price, and it is better known on day one. Send it through the contact page.
Start with an assessment, not a rewrite.
Send us the stack you are on and what hurts. You get a written read of your data and code, the realistic options — including the ones that cost you less — and what parity testing would cover. Fixed price, agreed before we start.