PowerScript Migrator is a code converter that ports PowerBuilder business logic to C#. 80-95% of non-visual PowerScript and embedded SQL can be ported automatically. No matter you are API-enabling PowerBuilder or migrating to C#, porting (not rewriting) existing code is the fastest and lowest-risk approach.
Fastest Path to C#
Highly-Automated Conversion - 80-95% of business logic, including PowerScript syntaxes, non-visual system functions, embedded SQLs, DataWindow functions, properties and events, and NVOs, can be ported to C#, automatically.
Auto-Importing of References - C# class definitions, namespaces, and using statements are automatically added for you to save time.
Efficient Reporting of Errors - conversion issues that will require remediation are reported as inline comments in the generated C# code, right where you need it.


Lowest Project Risk
Port, Not Rewrite - PowerBuilder business logic is mapped to equivalent functions provided by the open-source .NET DataStore, SnapObjects, and .NET Core frameworks. Mapping to such equivalents essentially reduces project risk from a rewrite to a port.
Partition in C# - intermingled visual and non-visual PowerScript code is converted such that partitioning of business logic can be performed in C#, leaving the source PowerBuilder application intact.
Apply Best Practices - C# programming best practices can be automatically applied, such as converting PowerBuilder structures to C# classes.
Open & Standard Architecture
Open-Source Only - the generated C# code has dependencies only on open-source libraries, specifically the open-source .NET DataStore, SnapObjects, and .NET Core frameworks.
100% Managed Code - only pure C# code is generated so that the .NET Core framework is fully managing the runtime, such as exception handling, managing memory, handling security.
Any C# IDE - you can maintain the generated C# code in any C# IDE, such as Visual Studio or SnapDevelop.

PowerBuilder Migration Capability
The PowerScript migrator automatically converts non-visual PowerBuilder features to equivalents in .NET. When used in conjunction with the open-source .NET DataStore libraries to support more PowerBuilder features in .NET, the percentage of automation typically increases to 80-95%:
DataWindow/DataStore – most non-visual DataWindow APIs (i.e. functions, events, and properties) and programming techniques are mapped to the open-source .NET DataStore libraries.
System Functions – system functions are mapped to either the .NET framework or open-source .NET DataStore libraries.
SQL Statements – all SQL statements, including embedded SQL and dynamic SQL formats 1-4, are mapped to the open-source SnapObjects ORM C# library.
PowerScript Syntax – PowerScript syntax, including data types, statements, structures, objects, and expressions, are mapped to standard C# data types, statements, structures, expressions.
NVOs – NVOs (.SRU files) are mapped to standard C# Classes.
EAServer NVOs – EAServer NVOs are also automatically converted in the same fashion as PowerBuilder NVOs.
Rational Databases – supports various leading rational databases, including SQL Server, Oracle, SQL Anywhere, ASE, HANA, PostgreSQL, MySQL, and SQLite.
Cloud Databases – supports cloud databases in Amazon and Azure, including:
- Amazon Aurora, RDS for SQL Server, RDS for Oracle, RDS for PostgreSQL, and RDS for MySQL; and
- Azure SQL Database, Azure Database for PostgreSQL, and Azure Database for MySQL.
There is no need to upgrade to a newer version of PowerBuilder. PowerScript Migrator supports automatically migrating PowerBuilder business logic directly from most versions of PowerBuilder:
- Sybase PowerBuilder 8-12.5
- SAP PowerBuilder 12.6
- Appeon PowerBuilder 2017-2019 R3
Ports PowerBuilder business logic to C#, which is the most valuable and complex layer in PowerBuilder applications. It provides a comprehensive suite of tools for automatically converting PowerBuilder to C#, automatically creating REST APIs, rapidly testing and debugging of REST APIs, and rapidly publishing your project.
Pricing
The PowerScript Migrator is available as a part of either PowerBuilder CloudPro or RapidSharp.