Rdb to Oracle or PostgreSQL
Sector7’s Rdb to Oracle or PostgreSQL Toolset Bundle is purpose-built to accelerate and simplify complex OpenVMS database migrations. Designed for mission-critical environments, our solution seamlessly translates Rdb SQLMOD and embedded SQL applications into industry-standard Oracle Pro*C or PostgreSQL ECPG formats. Leveraging decades of OpenVMS expertise, we ensure high fidelity, performance retention, and minimal disruption during the migration process.
-
PostgreSQL
-
Application on VMS
-
Rdb
-
SQLMOD
-
CDD
-
VX/SQLCC
-
Pro*C or ECPG
-
Automatic test program
Commonly bundled Sector7 technologies
Modernize OpenVMS Rdb Applications with Confidence
Sector7’s Rdb to Oracle or PostgreSQL Toolset is purpose-built to simplify complex OpenVMS database migrations. It automates the conversion of Rdb SQLMOD and embedded SQL applications into fully supported Oracle Pro*C or PostgreSQL ECPG code, preserving performance, structure, and logic.
Whether you’re migrating to Oracle or PostgreSQL on modern Linux platforms, our toolset ensures smooth transformation with minimal disruption. No full rewrites. No data loss. Just efficient, future-ready database applications.
Why Choose Sector7’s Rdb Migration Toolset?
- No-Rewrite Conversion: SQLMOD modules are automatically translated into industry-standard Pro*C or ECPG procedures.
- Preserve Application Logic: Original code structure remains intact, ensuring easy maintenance.
- Future-Proofed Compatibility: Eliminates reliance on unsupported legacy SQL interfaces.
- Streamlined Build Process: Output is ready for direct compilation and linking in modern environments
What the Toolset Generates
Once compiled and linked, the resulting executable will run seamlessly with Oracle, eliminating dependency on Pro*Fortran while maintaining compatibility with existing applications.
Before and After – Code Example
Fortran
! Original Rdb SQLMOD in Fortran
EXEC SQL CONNECT :user IDENTIFIED BY :password USING :dbname;
Fortran
! After conversion with Sector7 Toolset
CALL connect_to_database(user, password, dbname)
C
/* Generated Pro*C procedure */
void connect_to_database(char *user, char *password, char *dbname) {
EXEC SQL CONNECT :user IDENTIFIED BY :password USING :dbname;
}
This illustrates how embedded SQL is extracted and converted into standalone, reusable procedures, making the application fully compatible with modern Oracle or PostgreSQL environments.
Result:
Oracle – and PostgreSQL – ready applications that maintain operational continuity and are built for the future.
-
Application on VMS
-
Rdb
-
SQLMODCDDVX/SQLCCPro*C or ECPGAutomatic test program
-
Application on VMSRdbAutomatic test programOracle PostgresApplication on VMSOracle Postgres
Frequently Asked Questions
Curious about how Sector7 can facilitate your application migration? Explore our FAQs for expert insights.
Oracle Rdb reaches end of life on Itanium in December 2027 and Oracle is not porting it to x86. SQL$MOD gives SQLMOD-based applications a supported path onto modern platforms and open back ends, while preserving the procedure interface so the application itself is largely unchanged.
Yes. SQL$MOD provides an Rdb-compatible SQLCA and maps Rdb SQLCODE and SQLSTATE, so procedures that inspect sqlca.sqlcode behave as they did under Rdb.
VMS quadword date and time parameters are converted to and from SQL TIMESTAMP automatically. Dates are stored as normal timestamps in the target database, so other tools can read them, while your application keeps sending and receiving VMS quadwords with no application change.
A RECORD ... END RECORD parameter, optionally sourced from a CDD dictionary path, becomes a C struct and is bound field by field, so SELECT ... INTO :record populates every column. Domains resolve through CDD to C typedefs, and VMS CDD data-type definitions can be extracted into C headers.
PostgreSQL (the reference, most tested driver), MySQL/MariaDB, Microsoft SQL Server (via ODBC), any ODBC data source, Oracle (via the OCI client) and SQLite. The database is chosen at run time by configuration, so the same generated modules move between back ends without rebuilding.
Related Boot Camp talks
- Moving from Rdb to Oracle and PostgreSQL on OpenVMSView the talkTalk · 15 May 2025VSI OpenVMS Boot Camp, Malmo 2025
- SQL$PRE and SQL$MOD for x86 OpenVMSView the talkTalk · 2026VSI OpenVMS Boot Camp, Portsmouth 2026
- Migrating RDML & Rdb SQL/SQLMOD to x86View the talkTalk · 27 October 2026VSI OpenVMS Boot Camp, Portsmouth 2026





