In our last post (Cracking the Code: Unlocking Data Lineage in Your Data Factory - SAS Support Communities), we explored how legacy SAS code can be reverse-engineered to reveal the hidden supply chain of your data factory — tracing raw materials (input tables), assembly steps (transformations), and finished goods (output tables). Now that we’ve mapped the production line, the next challenge is governance: how do we keep track of what’s being built, where it’s going, and how it’s changing?
Welcome to the modern factory upgrade — powered by SAS Viya. With Viya’s APIs and Information Catalog, we’re no longer just observing the factory floor. We’re installing sensors, dashboards, and automated reporting — turning static documentation into a dynamic, self-governing system.
Every efficient factory runs on blueprints. In our case, that blueprint is a YAML file — a structured, machine-readable plan that describes:
This YAML file is more than documentation. It’s infrastructure-as-code for your data factory. It creates a repeatable and deployable approach to lineage. It’s the wiring diagram that lets you rebuild or audit your production line at any time.
Once your YAML blueprint is ready, it’s time to connect it to Viya’s central control system — the Information Catalog. Here’s how the automation works:
4) Information Catalogue – now that the flow is present in SAS Viya it will automatically be connected to other flows based on input and output tables. This is connecting your lineage maps and as long as you interact with the flow then your lineage will update (add tables).
Just like that, your factory’s lineage is live. No manual recreation. Just code-driven governance which you can now use with the intuitive GUI to provide even more governance.
This approach transforms your data factory from a reactive operation to a proactive, self-monitoring system. Here’s what you gain:
By connecting legacy SAS code to Viya’s APIs, you’re not just modernizing your data factory — you’re installing a governance framework that scales. Your lineage becomes dynamic, strategic, and self-sustaining. And just like any well-run factory, you’ll know exactly what’s being built, how it’s made, and where it’s going — every step of the way.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.