|By John Strano||
|April 16, 2008 04:15 PM EDT||
PowerBuilder 11's features have new prerequisite software items that you'll need to install and configure before making your first .NET deployment.
The .NET Framework and its SDK act as a foundation for PowerBuilder's .NET capabilities. You'll want to review the PowerBuilder installation guide, especially Table 1-3 for a concise yet comprehensive list of these prerequisite packages and tasks.
Let's Get to Work: Migration
To take advantage of PowerBuilder's .NET capabilities, you'll need to migrate your application to PowerBuilder 11. Before you do anything else, review the migration guide in the "User's Guide" under Working with Libraries>Migrating Targets
Invaluable anecdotal information and recommendations can also be found in Terry Voth's (TeamSybase - www.TeamSybase.com) Migration Guide...especially for "grooming" PBLs before migration by optimizing them.
Of course, if you're migrating from PowerBuilder 6.5 or earlier, you'll be working more issues than an application that's on version 10.5. As of PowerBuilder 10, unicode rather than ANSI is the default for the character encoding format and will impact strings in external function calls, string length calculations, etc. The compiler in PowerBuilder 11 is more stringent about certain coding practices like casting. Distributed PowerBuilder (DPB) has been removed. Graphics capabilities that were added in 10.5 may cause visual changes in your layouts and fonts that you may want to adjust.
I highly recommend creating a formalized Migration Plan. Not only will this plan let you identify refactoring tasks that need to be done, it will also let you quantify the number of those tasks and estimate the time and effort they'll require. Migrating your application forward should be relatively painless if it's managed as the bona fide project it is.
Let's presuppose your application is on a version of PowerBuilder no earlier than 7.x. Below, we'll cite possible migration tasks related to each subsequent version leading up to PowerBuilder 11. Then we'll examine the Migration Assistant tool and how it can help you to identify which of these migration issues affect your application.
Migration Issues Version by Version
- PowerBuilder 7.x
- New IDE
- TreeView and ListView changes
- PowerBuilder 8.x
- Workspaces and Targets added
- Source Code Control (SCC) configuration
- SystemError event behavior changes
- PowerBuilder 9.x
- PowerDynamo support removed
- Distributed PowerBuilder removed
- PowerBuilder 10
- Unicode implementation
- Last Sybase delivery of PFC (now Open Source)
- SQL Server native driver removed
- PowerBuilder 10.5
- Byte data type added
- Updated Decimal support
- Rich Text Control implementation enhanced
- Icon changes
- .NET Web Service support added
- PowerBuilder 11
- SySAM license management added
- DataDirect database drivers removed
- SQL Server native driver (SNC) added
The Migration Assistant tool exists to help you discover migration issues in your PBLs before you make your first attempt to migrate your applications and targets. (Figure 1)
Note: You'll want to use the Migration Assistant to analyze your PBLs using PowerBuilder 11 before you open your application in the IDE to migrate it.
It can be accessed from PowerBuilder's menu by clicking on File>New and then choosing the Tool tabpage in that response window.
The tool will search for obsolete syntax as well as for other migration issues in the PowerBuilder versions between 6 and 11 that you specify. If you're migrating from PowerBuilder 5 or earlier, you'll want to check all the versions available up to and including 11. (Figure 2)
Jul. 2, 2016 01:30 AM EDT Reads: 848
Jul. 2, 2016 01:00 AM EDT Reads: 764
Jul. 1, 2016 08:30 PM EDT Reads: 807
Jul. 1, 2016 06:30 PM EDT Reads: 786
Jul. 1, 2016 06:00 PM EDT Reads: 551
Jul. 1, 2016 05:30 PM EDT Reads: 798
Jul. 1, 2016 05:15 PM EDT Reads: 659
Jul. 1, 2016 04:15 PM EDT Reads: 270
Jul. 1, 2016 03:15 PM EDT Reads: 340
Jul. 1, 2016 02:00 PM EDT Reads: 1,438
Jul. 1, 2016 01:15 PM EDT Reads: 357
Jul. 1, 2016 01:00 PM EDT Reads: 1,054
Jul. 1, 2016 01:00 PM EDT Reads: 709
Jul. 1, 2016 12:30 PM EDT Reads: 694
Jul. 1, 2016 12:00 PM EDT Reads: 664
Jul. 1, 2016 10:45 AM EDT Reads: 588
Jul. 1, 2016 10:30 AM EDT Reads: 1,118
Jul. 1, 2016 10:00 AM EDT Reads: 542
Jul. 1, 2016 09:30 AM EDT Reads: 1,217
Jul. 1, 2016 09:00 AM EDT Reads: 713