Update mainframe Prethink context

Proprietary

Generate Prethink context for a mainframe estate: a FINOS CALM architecture document covering the jobs, programs, data sets, DB2 tables, CICS resources and IMS segments and how they reach each other, a ranked findings report, and the data tables both are derived from. Everything is written under .moderne/context/ to be committed, so an agent reading the repository starts from what the analysis found rather than from the source.

io.moderne.mainframe.prethink.UpdateMainframePrethinkContext

Optional

Which agent config files to update, creating any that do not exist yet. If not specified, updates all found files. Separate values with commas.

viewsBoolean

Also write one architecture document per view defined in architecture-views.json, each a filter over the same architecture: the nodes of one technology and its neighbours, and the relationships between them.

mod run . --recipe=io.moderne.mainframe.prethink.UpdateMainframePrethinkContext

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

Recipe list

It runs these recipes, in this order.

  1. Analyze the mainframe architecture
  2. Analyze the relationships of a load module
  3. Analyze the mainframe a Java source reaches
  4. List relationship kinds
  5. Analyze the business rules a portfolio applies
  6. Measure each program and its control flow
  7. Analyze the mainframe migration blockers
  8. Analyze the portfolio's copybooks
  9. Analyze how the portfolio reaches its data
  10. List each job step and the data sets it allocates
  11. List how far each job step can be read
  12. Say what each control card deck is and what it defines
  13. Join each load module to the programs bound into it
  14. Join each plan to the packages and programs bound under it
  15. Read the schema the DDL creates, and who reaches each table
  16. List the Db2 unloads and what each would cost to move
  17. Say when each job runs, what has to end first, and on which days
  18. Say which build orders the scheduler does not enforce, and which jobs nobody orders
  19. Join each IMS transaction and job step to the segments behind it
  20. Join every screen field to the COBOL behind it
  21. Compare each record with the other language that describes it
  22. Analyze what the run books document
  23. Compare the copies of a member across environments
  24. Find column lineage
  25. Generate mainframe CALM architecture
  26. Generate the mainframe findings report
  27. Generate OpenLineage column lineage
  28. Export context files
  29. Export context files
  30. Export context files
  31. Export context files
  32. Export context files
  33. Export context files
  34. Export context files
  35. Export context files
  36. Export context files
  37. Export context files
  38. Export context files
  39. Export context files
  40. Export context files
  41. Export context files
  42. Export context files
  43. Update agent configuration files
  44. Update .gitignore for Prethink context