Compare the copies of a member across environments

Proprietary

Record every member an environment library holds a copy of, one row from each copy to each of the others, saying whether the two still agree and by how many lines they differ, and a COPIED_TO relationship between the two copies as library members. A bind deck differing only in the DB2 subsystem it binds on, the collection its packages land in and the library it reads its DBRMs from is reported as bound elsewhere rather than as drift. FindEnvironmentCopies answers the same question and marks each copy in the source; this one produces the tables and changes nothing.

io.moderne.mainframe.inventory.AnalyzeEnvironmentCopies

Optional

Which folders of a path say where a member is held. A segment written as itself is matched as itself, {environment} takes the segment naming the environment and {application} the one naming the application whose library it is, and what is left of the path is the member. Defaults to environments/{environment}, which reads environments/PROD/ctlcard/SRTCLM01.ctl as ctlcard/SRTCLM01.ctl in PROD. A shop keeping a library per application per environment writes {application}/{environment} instead.

mod run . --recipe=io.moderne.mainframe.inventory.AnalyzeEnvironmentCopies

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