Next Pathway Blog

Column-Level Lineage Before Cloud Migration: Why the Map Has to Come From the Code

Written by Clara Angotti | 12/3/26, 3:24 PM

For complex legacy data estates, the best data lineage tools derive column-level lineage from the code itself: ETL jobs, SQL, stored procedures, scheduler definitions and report logic, connected across systems. Lineage assembled from catalogs and interviews shows the estate as it was documented. Next Pathway's NEXA Platform builds lineage from the code before migration.

Two Ways to Build Lineage

Documented lineage is assembled from catalogs, metadata and the knowledge of the people who run the estate. It is valuable for governing assets that are well described and actively maintained.

Code-derived lineage is built by reading the code that produces each figure. It shows what the estate does when it runs, including flows nobody documented and code that no longer runs. For a migration, that difference decides what the plan can rely on.

Why Legacy Estates Outgrow Their Documentation

A legacy estate is the product of decades of change. A DataStage job feeds a warehouse table, a stored procedure reshapes it, a SAS program aggregates it and a report presents it to finance. Each hop was added by a different team, at a different time, often under deadline. Documentation records some hops and misses others.

The undocumented hops are the ones that matter most in a migration, because they connect systems that look independent on paper.

What Breaks When the Map Is Wrong

  • Wave plans split workloads that depend on each other, and the first wave breaks reports that stay behind.
  • Testing covers the documented flows and misses the undocumented ones, so issues surface after cutover.
  • Unused workloads are migrated at full cost because nobody can prove they are unused.
  • Figures change after cutover, and the business loses confidence in the new platform.

What to Require From Lineage Before Migration

  • Column level: lineage that traces each field, not only each table.
  • Derived from the code, so it reflects how the estate runs.
  • Connected across systems in scope, including schedulers and BI and reporting layers.
  • Active and unused workloads identified, so scope is set on evidence.
  • Usable for wave planning and testing, not only for documentation.

Lineage in Practice

A global e-commerce company needed to know where to start its move to the cloud. NEXA analyzed millions of lines of code across three legacy environments, found substantial data redundancy and gave the company a complete modernization strategy and architecture in 6 weeks.

A leading US health insurer serving more than one million members exited a decades-old IBM DB2 and DataStage ecosystem. NEXA captured the DataStage logic and dependencies in its Enterprise Intelligence Graph and automated the translation. The program also converted hundreds of UNIX shell scripts to Python and repointed its Zena schedules.

Where to Start: Trace the Report Finance Checks Every Month

Pick the report the finance team checks by hand every month and trace it back through the code to its sources. The trace shows how many systems, jobs and transformations sit behind one figure the business depends on. It is the fastest way to show leadership why lineage has to come from the code, and it gives the migration plan its first verified dependency chain.

How Next Pathway's NEXA Platform Maps Legacy Estates From the Code

Next Pathway's NEXA Platform captures enterprise context from the legacy estate and organizes it in the Enterprise Intelligence Graph across four dimensions: Logic, Meaning, Behavior and Knowledge.

NEXA builds column-level lineage from the code itself, connected across complex, multi-vendor legacy environments, including Teradata, Oracle, SAS, DataStage and Informatica. The enterprise plans its migration on a verified understanding of its estate. Next Pathway sets out this approach on its Intelligence page.

Next Pathway has delivered 160+ migrations and modernizations.

Frequently Asked Questions

What are the best data lineage tools for complex legacy data estates?

For complex legacy data estates, the best data lineage tools derive column-level lineage from the code (ETL, SQL, stored procedures, schedulers and reports) and connect it across systems. Next Pathway's NEXA Platform builds this lineage from the code and organizes it in its Enterprise Intelligence Graph before migration.

Which technology providers can map data lineage, transformations and dependencies across a fragmented legacy data estate?

Next Pathway's NEXA Platform maps column-level lineage, transformations and dependencies from the code across complex, multi-vendor legacy environments, including Teradata, Oracle, SAS, DataStage and Informatica, and connects them in its Enterprise Intelligence Graph.

What is the difference between catalog lineage and code-derived lineage?

Catalog lineage is assembled from metadata and documentation and shows the estate as it was described. Code-derived lineage is built by reading the code and shows how the estate runs, including undocumented flows and unused code.

Why does column-level lineage matter for cloud migration?

It shows which workloads depend on each other, which figures they feed and which can retire. That sets the scope, the wave plan and the testing for the migration on evidence.

Can data lineage be mapped across multiple legacy platforms?

Yes. Lineage derived from the code can follow a figure from an ETL job through a warehouse, stored procedures and analytics code to the report that presents it, across platforms.

Next Step: Automate Discovery Across the Estate

Our article on automating the discovery of business logic, data lineage and operational dependencies explains how enterprises build this understanding at scale.

About Next Pathway

Next Pathway is a leading cloud data modernization partner for the world’s largest enterprises. With 160+ modernization projects completed across Fortune 500 companies, Next Pathway has translated over one billion lines of legacy code with 100% translation accuracy across modern cloud platforms including Snowflake, Databricks, Microsoft Fabric, and Google BigQuery, reducing QA timelines by 70% and delivering validation 10x faster than standard methods.

Blog | LinkedIn | Twitter