Find batch data set relationships

Proprietary

Add the batch edges to the same relationship graph FindRelationships builds for copybooks, program calls, DB2 tables, link-edit cards and schedules: which procedures and INCLUDE members a job pulls in, which program each step runs, which PSB an IMS region runs under, which data sets a job allocates, and — the edge neither source carries on its own — which data sets a program creates, reads, updates and deletes. A program's ASSIGN clause names a DD and the JCL binds that DD to a data set, so only the two read together say what a program touches. A step that calls a procedure runs the procedure's steps, and the program it passed on PGM= or MBR= is a symbol until those are read against it, so the edge says the job runs CLMB010 rather than &PGM and is anchored at the card that passed it.

io.moderne.mainframe.batch.FindBatchRelationships
mod run . --recipe=io.moderne.mainframe.batch.FindBatchRelationships

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