Documenting Pascal

LegacyMap reveals the structure and control flow within legacy Pascal applications, producing cross-referenced documentation and callgraphs that support audits, refactors, and modernization. Our tooling provides immediate clarity for teams working with OpenVMS Pascal, all without modifying the original code.

LegacyMap Pascal documentation flow. OpenVMS Pascal goes through the LegacyMap pre-processor and doxygen, producing Call Graphs and a Code Index.
  1. OpenVMSPascal
  2. LEGACYMAPPRE-PROCESSOR
  3. doxygen
  4. Call Graphs
  5. Code Index

Clear Documentation for Pascal Systems

LegacyMap unlocks the hidden logic within your OpenVMS Pascal applications, making decades-old systems readable, navigable, and easy to maintain. From industrial control environments to financial and scientific tools, Pascal systems are still critical to daily operations – but often lack any usable documentation.

With LegacyMap, you gain instant visibility into procedure flows, data access patterns, and module-level relationships. Our tooling scans your Pascal codebase and generates cross-linked documentation and visual maps – no manual tagging or source code modification required. Output is fully compatible with Doxygen and can be viewed in HTML, PDF, or LaTeX formats.

What’s Included in the Pascal Toolset

• Procedure Mapping – Automatically detect and chart all Pascal procedures, providing a full system view of control flow and logic.

• Shared Data & Type Tracking – Analyze global variables, record types, and data movement across procedures and modules.

• Module Dependency Mapping – Reveal how different Pascal units and files are interdependent, helping identify coupling and architectural bottlenecks.

• Doxygen Output – Generate searchable, exportable documentation usable in both technical and non-technical workflows.

Why Legacy Teams Choose LegacyMap

• Preserve Tribal Knowledge – Ensure critical Pascal systems remain understandable even as teams change and original developers retire.

• Reduce Risk During Modernization – Use clean, visual documentation to plan safe migrations or refactors without breaking what already works.

• Faster Debugging & Support – Empower support teams to resolve issues faster by understanding logic paths and system interactions.

• Accelerate Audits and Compliance – Provide stakeholders with clear, exportable documentation that maps how your Pascal system operates.

LegacyMap turns complex Pascal code into clear, maintainable documentation – so you can move forward with confidence, backed by decades of logic made visible.

Cross-reference and document legacy Pascal systems for modern understanding.

Frequently Asked Questions

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

What types of documentation does LegacyMap generate?

LegacyMap produces cross-referenced technical documentation in HTML, PDF, and LaTeX formats, compatible with Doxygen workflows. Outputs include callgraphs, file access mappings, procedure trees, and SQL access flowcharts. This documentation is fully searchable and ideal for developer onboarding, system audits, and modernization projects.

Why is automated documentation important for legacy COBOL and OpenVMS systems?

Legacy COBOL systems often lack up-to-date documentation, making them difficult to maintain or migrate. LegacyMap solves this by automating the generation of accurate, detailed documentation that reflects the current state of your system. This reduces operational risk, improves code maintainability, and accelerates digital transformation initiatives involving legacy technologies like COBOL, FORTRAN, BASIC, and embedded SQL.

Does LegacyScan detect use of OpenVMS library/system calls (SYS$, LIB$, CLI$, STR$ etc)

Yes, LegacyScan and the Vx/Tools migration tool kit support over 1000 OpenVMS system service calls - SYS$, LIB$, CLI$, SOR$, STR$, SMG$, FDV$, FORMS$ etc .

Does LegacyScan detect OpenVMS specific non-portable language extensions

Yes, LegacyScan has multiple phases. Phase 1 is to scan the OpenVMS 3GL or SQL and map the non portable elements against the Sector7 language remediation tools. Sector7 have language remediation tools for all the major OpenVMS languages (C, BASIC, COBOL, FORTRAN, PASCAL, SQL, SQLMOD). If any extensions are detected that are not handled by the Sector7 language remediation tools a JIRA is created for that specific issue and the tool set enhanced.

‍

What is LegacyScan and how can it help my migration project?

LegacyScan is Sector7's analysis tool that provides detailed assessment of your legacy systems. It identifies the elements of your OpenVMS application that are not directly portable to Linux, and delivers a full breakdown of application compatibility, recommended remediations, and actionable development tasks. Learn more about our assessment process.

How do I access Sector7's free code assessment service?

Sector7 offers a free code assessment to evaluate your migration requirements and provide initial project insights. This assessment helps identify potential challenges and opportunities before your migration begins. Get in touch to schedule your free assessment.

Transform Your Legacy Software Today!

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