Find dead data
ProprietaryFind declared fields that nothing reads, and fields written but never read back. Carrying data nobody uses is the cheapest thing to drop from a migration, and unused fields accumulate over decades because nothing makes them visible. Reading is counted through the record structure — a field read as part of a group move counts — and includes being tested in a condition, which moves no value. FILE and LINKAGE items are excluded, since something outside the program supplies and consumes them.
io. moderne. mainframe. lineage. FindDeadDataOptional
Whether to report fields copied in from a copybook. They are off by default because a field unused here is often used by another program copying the same book, and only a portfolio-wide answer can tell them apart. Defaults to false.
mod run . --recipe= io. moderne. mainframe. lineage. FindDeadDataInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.