Trace field lineage across programs

Proprietary

Follow a field out of the program that declares it, through every CALL that passes it, into the files, queues, maps and IMS segments it reaches in the programs it is passed to. COBOL binds arguments to parameters by position and carries no names across the boundary, so this is the join no repository scan or regular expression can make. Each answer carries the chain of programs and argument positions it was derived from, so it can be checked rather than trusted.

io.moderne.mainframe.lineage.FindCrossProgramLineage

Required

The field to trace, matched against the declared name. Accepts a regular expression, so a family of fields can be traced at once.

Optional

How many CALL boundaries to cross. Defaults to 10, which is past the depth of any call chain worth reading as a single answer.

mod run . --recipe=io.moderne.mainframe.lineage.FindCrossProgramLineage \ -P fieldName=WS-ACCT-ID

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.