Technical Capabilities
Having trouble finding what you need?
Get in touch with us, so we can answer your specific questions directly.
Get In Touch
technical
/
DCL
/
VX/CDD - OpenVMS CDD

VX/CDD - OpenVMS CDD

Overview

VX/CDD is a powerful data dictionary extraction and transformation tool that extracts DDL (Data Definition Language) from a VMS / OpenVMS CDD and imports it into a Sector7 Common Data Dictionary.

Processes %INCLUDE, %FROM, and %CDD directives used in 3GLs and DEC products

Converts CDD definitions into include files for multiple programming languages

Maintains the CDD in standard DDL format, ensuring full OpenVMS compatibility

Supports multiple languages and databases, including Pascal, Fortran, BASIC, C, C++, DECForms, and SQLMOD

VX/CDD Features

Feature Description
DDL Extraction Extracts Data Definition
Language (DDL)
from a
VMS / OpenVMS CDD.
Multi-Language Support Generates include files for
PASCAL, FORTRAN, BASIC, C, and C++.
Forms & Database Integration Supports DEC Forms
(VX/DECFORMS) and Rdb
SQLMOD
conversions.
Automated Processing Pre-processes %INCLUDE,
%FROM, and %CDD
statements automatically.
PostgreSQL & Oracle
Support
Converts Rdb SQLMOD to
Postgres ECPG or
Oracle Pro*C (VX/SQLMOD).

VX/CDD Language & Tool Support

VX/CDD is designed to seamlessly integrate with multiple programming languages and development tools.

Category Supported Tools & Languages
Built-in Language Support
  • PASCAL (VX/PASCAL)
  • FORTRAN (VX/FORTRAN)
  • BASIC (VX/BASIC)
Pre-Processed Includes
  • VMS / OpenVMS C
  • VMS / OpenVMS C++ (Processed by VX/C)
Forms Support
  • DEC Forms (VX/DECFORMS)
  • Database Support
    • Rdb SQLMOD to PostgreSQL ECPG
    • Rdb SQLMOD to Oracle Pro*C

    VX/CDD Workflow

    VX/CDD automates the extraction, transformation, and integration of OpenVMS CDD data into modern development environments.

    1️⃣ Extract DDL from OpenVMS CDD

    VX/CDD retrieves structured Data Definition Language (DDL) from an OpenVMS CDD.

    VX/CDD extracts DDL from OpenVMS CDD and processes it for target platforms.

    2️⃣ Convert CDD Definitions to Include Files

    VX/CDD transforms CDD field definitions into language-specific include files.

    VMS CDD Definition Converted Include File
    
    FIELD EMPLOYEE_ID PIC 9(6).
    FIELD EMPLOYEE_NAME PIC X(30).
    FIELD SALARY PIC 9(7)V99.
    
    typedef struct {
    int EMPLOYEE_ID;
    char EMPLOYEE_NAME[30];
    double SALARY;
    } EMPLOYEE;
    3️⃣ Process %INCLUDE, %FROM, and %CDD Directives

    VX/CDD automatically resolves and expands embedded references in the source code.

    Before Processing

    %INCLUDE 'EMPLOYEE_DEF' %FROM CDD$DICT;


    After Processing

    TYPE
      EMPLOYEE_RECORD = RECORD
        EMPLOYEE_ID: INTEGER;
        EMPLOYEE_NAME: STRING(30);
        SALARY: REAL;
      END;
    4️⃣ Database Migration Support

    VX/CDD can convert Rdb SQLMOD definitions into PostgreSQL ECPG or Oracle Pro*C.

    VMS Rdb SQLMOD Converted PostgreSQL ECPG
    
    DECLARE EMPLOYEE CURSOR FOR
    SELECT EMPLOYEE_ID,
    EMPLOYEE_NAME, SALARY
    FROM EMPLOYEES;
    
    EXEC SQL DECLARE 
    EMPLOYEE CURSOR FOR
    SELECT EMPLOYEE_ID,
    EMPLOYEE_NAME, SALARY
    FROM EMPLOYEES;

    Why Use VX/CDD?

    Automates CDD Extraction & Processing

    Supports Multiple Languages & Databases

    Seamless Integration with VX/Pascal, VX/Fortran, VX/Basic, and VX/SQLMOD

    Future-Proofs OpenVMS CDD Definitions for Linux & Windows

    VX/CDD ensures that legacy VMS CDD data remains accessible and maintainable, allowing seamless migration to modern platforms without losing functionality.

    Frequently Asked Questions

    Curious about how Sector7 can facilitate your application migration? Explore our FAQs for expert insights.

    What is VX/CDD and how does it help with OpenVMS migration?

    VX/CDD is a powerful data dictionary extraction and transformation tool that extracts DDL (Data Definition Language) from VMS/OpenVMS CDD and imports it into a Sector7 Common Data Dictionary. It processes %INCLUDE, %FROM, and %CDD directives used in 3GLs and DEC products, converting CDD definitions into include files for multiple programming languages including Pascal, Fortran, BASIC, C, C++, DECForms, and SQLMOD.

    This tool ensures legacy VMS CDD data remains accessible and maintainable during Linux migration. Contact us to discuss your CDD migration requirements.

    Which programming languages does VX/CDD support?

    VX/CDD supports multiple programming languages including PASCAL, FORTRAN, BASIC, C, C++, and integrates with DECForms and Rdb SQLMOD conversions.

    How does VX/CDD handle CDD directive processing?

    VX/CDD automatically resolves and expands %INCLUDE, %FROM, and %CDD statements embedded in source code, maintaining full OpenVMS compatibility.

    What is the VX/CDD workflow process?

    VX/CDD follows a four-step process: extract DDL from OpenVMS CDD, convert CDD definitions to language-specific include files, process embedded directives, and provide database migration support for PostgreSQL and Oracle.

    Can VX/CDD convert Rdb SQLMOD to modern databases?

    Yes, VX/CDD converts Rdb SQLMOD definitions into PostgreSQL ECPG or Oracle Pro*C formats through integration with VX/SQLMOD. This enables seamless database migration from OpenVMS Rdb to modern database platforms while preserving data structure integrity.

    Companies like IKEA have successfully migrated their database systems using similar approaches.

    Does VX/CDD integrate with other VX tools?

    VX/CDD seamlessly integrates with VX/PASCAL, VX/FORTRAN, VX/BASIC, VX/DECFORMS, and VX/SQLMOD for comprehensive OpenVMS migration.

    How does VX/CDD transform CDD field definitions?

    VX/CDD transforms CDD field definitions into language-specific include files. For example, it converts OpenVMS CDD structures with EMPLOYEE_ID, EMPLOYEE_NAME, and SALARY fields into corresponding C typedef structures, maintaining data type compatibility and field relationships.

    What are the key benefits of using VX/CDD for migration?

    VX/CDD delivers automated CDD extraction and processing, supports multiple languages and databases, and maintains the CDD in standard DDL format ensuring full OpenVMS compatibility. It future-proofs OpenVMS CDD definitions for Linux platforms without losing functionality.

    Organizations achieve seamless migration to modern platforms while preserving legacy data structures. Similar to how BNY Mellon modernized their critical systems, VX/CDD enables smooth transitions from legacy infrastructure.

    To explore how VX/CDD can accelerate your migration timeline, contact us for a consultation.

    Transform Your Legacy Software Today!

    Get In Touch
    Unlock the potential of your legacy software with our expert migration services.