Contact Us

Your schema is in the copybooks. Database modernization starts there.

In a legacy system, the database and the code are one thing. Record layouts live in COBOL copybooks, keys live in program logic, and the meaning of a REDEFINES depends on which paragraph reads it. A schema converter sees the files. It does not see the code.

We modernize everything together. The value is not merely that DMS parses COBOL programs and copybooks. It is that DMS:

  • Parses source code and data definitions into a structured representation.
  • Resolves relationships between programs, data declarations and file/database operations.
  • Analyzes how data is accessed, modified and interpreted.
  • Uses that information to guide schema design and transformation.
  • Applies deterministic rewrite rules to the application code and generates supporting migration programs: the same input gives the same output, run after run.
Book a free database assessment
30+ yrs
Compiler Engineering
40+
Source Languages
PhD
Average Team Seniority
TRUSTED BY
NASA
Boeing
RTX
Rockwell Automation
Global Shop Solutions
BlackRock
ANZ
Northrop Grumman
Emerson
WHAT WE MIGRATE

Every legacy data store, mapped to the new data schema you can query

Most database migration services start and end at relational-to-relational. Ours starts where the data has no catalog, only code.

Legacy structure
Modern target
What changes in the code
Legacy structureVSAM KSDS, ESDS and RRDS files
Modern targetRelational tables designed from the copybooks and the programs that read them
What changes in the codeVSAM file operations and CICS access patterns are transformed into relational data-access operations, with appropriate transaction management, locking and key-access semantics
Legacy structureIMS DB hierarchies
Modern targetsegment types becomes a table; parent-child paths become keys and foreign keys
What changes in the codeSegment navigation is rewritten as data access against the new tables
Legacy structureADABAS MU fields
Modern targetA child table with a foreign key and an occurrence index
What changes in the codeNatural, COBOL and PL/I access rewritten to match
Legacy structureADABAS PE groups
Modern targetOne child table per group, with a parent reference and an occurrence counter
What changes in the codeSame, with occurrence order preserved
Legacy structureADABAS ISNs
Modern targetSurrogate keys with indexes
What changes in the codeCode that relied on ISNs uses the new keys
Legacy structureSuper, sub and hyperdescriptors
Modern targetExpression indexes (PostgreSQL, Oracle, Db2) or persisted computed columns with indexes (SQL Server)
What changes in the codeDescriptor searches become indexed queries
Legacy structurePredict definitions
Modern targetJPA entities and DDL
What changes in the codeDirect ADABAS calls become JDBC with the same locking and transaction boundaries
Legacy structureDataCom, Model 204
Modern targetCustom relational schemas
What changes in the codeAccess rewritten in the same migration as the programs
Legacy structureEnscribe and SQL/MP on HPE NonStop
Modern targetCustom relational schemas on your chosen target
What changes in the codeConverted with the programs that use them
Legacy structureDB2 for z/OS
Modern targetDb2 LUW, PostgreSQL, SQL Server, Azure SQL, Amazon Aurora
What changes in the codeEmbedded SQL parsed as SQL and converted by rule
Legacy structureCopybook layouts: COMP-3, REDEFINES, OCCURS DEPENDING ON, EBCDIC text
Modern targetdecimal or BigDecimal columns typed from the PIC clause; ODO lengths resolved at runtime
What changes in the codeEBCDIC collation preserved where the logic depends on it
Legacy structureFlat files and denormalized VB6-era data
Modern targetNormalized tables
What changes in the codeADO and DAO become ADO.NET, EF Core or Dapper

Targets: PostgreSQL, SQL Server, Azure SQL, Oracle, Db2 LUW and Amazon Aurora. For the full technical walkthrough, read Mainframe data migration: VSAM, IMS and DB2.

WHY SCHEMA CONVERTERS FALL SHORT

Why schema converters alone fail on legacy data

To be clear: if you are moving Oracle to PostgreSQL or SQL Server to Azure SQL, AWS DMS and the schema conversion tools are the right choice. They are built for like-for-like relational moves. This service is for the cases they were not built for.

Hazard
What a schema converter does
What we do
HazardREDEFINES
What a schema converter doesPicks one layout or dumps raw bytes
What we doDMS analyzes which programs access each REDEFINES variant, how the underlying storage is interpreted, and the conditions under which each representation is used. This information drives the target schema and the corresponding application transformations
HazardPacked decimal (COMP-3)
What a schema converter doesTreats it as binary or text
What we doExact decimal or BigDecimal types, precision and scale from the PIC clause (COMP-3 in Java and C#)
HazardEBCDIC sort order
What a schema converter doesSorts in ASCII or the target's default collation
What we doPreserves EBCDIC character ordering where required by application logic, using appropriate target-side comparison and sorting mechanisms
HazardRecord-at-a-time navigation vs set-based SQL
What a schema converter doesLeaves the loop untouched, firing one query per record
What we doAccess paths rewritten with the code, then profiled and index-tuned
HazardHierarchical parent-child
What a schema converter doesFlattens the tree or loses the path
What we doSegments become tables, joined by generated keys and foreign keys
HazardRepeating groups (OCCURS, MU, PE)
What a schema converter doesWide columns, truncation or JSON blobs
What we doChild tables with occurrence indexes, ODO lengths resolved at runtime
HazardImplicit keys
What a schema converter doesIgnores them; they are not in any catalog
What we doISNs and other physical locators become surrogate keys with indexes
HazardLocking and commit semantics
What a schema converter doesNot its job
What we doThe same locking and transaction boundaries, in explicit transaction scopes
HazardBatch windows
What a schema converter doesNot measured
What we doProfiling and index tuning target 1:1 or better throughput
HOW DELIVERY WORKS

Four steps from copybook to reconciled tables

  1. 1

    Analyze data and code together

    DMS parses every program, copybook, Predict definition and embedded SQL statement. It reports missing copybooks, dead code and inconsistent layouts, and maps which programs read and write which records. See code analysis services.

  2. 2

    Design the target schema with the code

    Tables, keys, indexes and types are designed from how the data is actually used. MU and PE become child tables, descriptors become indexes, and COMP-3 fields get exact decimal types. You review and sign off on the schema before anything moves.

  3. 3

    Generate and run the migration programs

    We generate unload, normalize and load programs that decode EBCDIC, unpack packed decimal, resolve REDEFINES and split repeating groups. The schema decisions that drive these programs also drive the code conversion, so data and code stay in step.

  4. 4

    Reconcile and parallel run

    Every load is reconciled against the source. Then legacy and modern stacks run on the same inputs and results are compared until differences are explained and closed.

RECONCILIATION

Proof that every record arrived, and arrived right

Check
What it compares
What it catches
CheckRow counts
What it comparesRecords per source file, segment or ADABAS file vs rows per target table, including child tables
What it catchesDropped, duplicated or orphaned records
CheckControl totals
What it comparesSums of amount fields and key hash totals, source vs target
What it catchesSign errors and packed-decimal decoding faults
CheckField-level comparisons
What it comparesEach decoded source field vs its target column
What it catchesPrecision loss, date errors, character conversion errors
CheckParallel runs
What it comparesOutputs of the legacy and modern stacks on the same inputs
What it catchesBehavior differences in the converted code
CheckThroughput
What it comparesBatch elapsed time and transaction response vs the legacy baseline
What it catchesSlow queries and missing indexes, tuned to 1:1 or better
ENGAGEMENT SHAPES

Pick the shape that fits your program

Data-access layer modernization

Your application language stays. File and database calls are rewritten against the new relational schema, so the code migration can come later, or not at all.

Data migration programs for your team

We generate and hand over the unload, normalize and load programs and the reconciliation checks. Your team runs rehearsals and cutover on its own schedule.

DB2 z/OS to Db2 LUW or PostgreSQL

Moving rows is the easy part. We convert the embedded SQL in the programs that query them, so the application runs against the new engine.

RELATED SERVICES

Where database modernization fits

Where database modernization fits

The data was never the hard part. The code that reads it is.

Show us your copybooks and we will show you the schema hiding in them.

Book a free database assessment →
FAQ

The questions our engineers get asked the most

General questions

It means moving legacy data stores such as VSAM, IMS, ADABAS, DataCom, Model 204, Enscribe and DB2 for z/OS to a modern relational database, together with the code that reads and writes them. We design the target schema from the record layouts and the programs, generate the data migration programs, rewrite access path, and reconcile the results. The database and the application are treated as one workstream, because in legacy systems they were never separate.

AWS DMS and schema converters move tables, rows and SQL objects between relational engines. For Oracle to PostgreSQL, use them. They do not read COBOL copybooks, resolve REDEFINES, split ADABAS periodic groups or rewrite the programs that navigate records one at a time. Our engine, DMS (Design Maintenance System, is not unrelated to AWS DMS), parses the application code and the data definitions together, so the schema and the code change in step.

DMS support includes VSAM (KSDS, ESDS, RRDS), IMS DB, ADABAS, DataCom, Model 204, Enscribe and SQL/MP on HPE NonStop, DB2 for z/OS, flat files and denormalized VB6-era data. Targets include PostgreSQL, SQL Server, Azure SQL, Oracle, Db2 LUW and Amazon Aurora. the specific migration mapping is established during assessment.

Packed decimal (COMP-3) becomes C# decimal or Java BigDecimal, with precision and scale taken from the PIC clause. REDEFINES are resolved by tracing which programs read which overlay, and each variant gets an explicit representation. EBCDIC text is converted during the load, and where the business logic depends on EBCDIC sort order, we preserve it with ordinal comparison against an EBCDIC sequence. OCCURS DEPENDING ON lengths are resolved at runtime.

Every load is reconciled three ways: row counts per source file and target table, control totals on amount and key fields, and field-level comparisons between decoded source values and target columns. Then the legacy and modern systems run in parallel on the same inputs and their results are compared. Differences are traced to a cause and fixed in the rules, not patched by hand in the data.

It can be, if record-at-a-time code is pointed at a relational engine without tuning. That is why performance is part of the engagement. We profile the converted application, rewrite slow access paths, and tune indexes before cutover, with a target of 1:1 or better throughput against your legacy baseline. Batch elapsed times and transaction response are measured during the parallel run, not guessed.

No. Your team keeps maintaining the legacy system while we build and tune the transformation rules. Because the process is deterministic, we re-run it on the latest code and data definitions before each delivery, so changes your team makes along the way are carried forward instead of frozen out. The data migration programs can be rerun for every rehearsal and for the final cutover.

The core is deterministic symbolic AI: compiler-grade parsing, data-flow analysis and rewrite rules that produce the same output for the same input. Gen AI works around that core, helping with documentation, business-rule extraction, comprehension of unfamiliar code, summaries and test generation. It never decides how a field is typed, how a record is split or how a transaction boundary is drawn.

Yes. DMS can be run on your own Linux or Windows servers, on-prem, Your data never has to leave your site. Every engagement starts under NDA. You own the converted code, the schema, the DDL and the generated data migration programs. There are no runtime royalties.

We start with a free codebase assessment under NDA: a complexity report, an automation estimate and a rough timeline. Then if appropriate we’ll conduct a full assessment and proivde fixed price for the engagement shape you choose.