-
Kim Lombard
- PowerBuilder
- Monday, 24 March 2025 08:20 PM UTC
Hello, I'm in the early days of converting a medium size Powerbuilder 10 app (runs on SQL Server 19) to PB 22 R3.
This is a legacy app that is mission critical to our business. the app was developed and first used by the company around 1999. I'm sure the PFC version was older than that. Originally ran on Sybase, Then SQL Server, migrated to AWS SQL server hosting and now is on Azure with SQL Server 19 - soon to be 2022.
the problem is that while to company has spent large amounts to migrate all other PB functionality to .NET this one app is still in PB 10. I've been promoting the need to upgrade for over 5 years but the answer is always "if it works, do fix it". We have other priorities...
Its been running well for what it needs to do but this month is becoming really problematic. I give you this history so that you can understand the nature of my request.
I have migrated the .pbls to PB 22 and it runs but as I have discussed in other threads on this forum it has a whole new set of problems, mostly performance related.
I'm making progress on identifying areas that need to be changed and re-writing the code in some - others redesigning the datawindows to better manage the traffic to the server and back.
SO MY QUESTION??? :) Is there any advantage to migrating the foundation PFC classes from mine (pre 1999) to PFC 22?
I should mention that the app doesn't do anything fancy. Its all native PB code. Just menus, datawindows, windows, pipes, reports and ONE connection to SQL Server using SQLCA per client. Most of the SQL (in this app) is embedded SQL with insert / updates / deletes. Some calls to SPROCS.
I did another PB app last year from PB 10 --> PB 22 but it has it's own home grown foundation class. ALL data requests to server with SPROCS and it went VERY WELL.
This conversion, so far has been a challenge, it runs, but not well.
Will it benefit 1) performance 2) reliability 3) transaction processing via SQLCA 4) error handling 5) error logging 6) app management 7) app deployment.
Will it be 1) small effort (just load PFCs first then my legacy objects. 2) medium effort (requires some coding, knowledge of inheritance. 3) difficult, maybe a better option is to re-write the app in .NET.
I'm sure I will think of other questions 60 seconds after I hit "submit question".
I would also like to acknowledge the great support that I am getting from this forum and the well thought out, worthwhile responses I have received
thank you in advance.
Kim
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.