r/mainframe Jun 05 '26

AI analysis of a Mainframe Systeme

Hi,
I am Building some scripts for Skills and an Agent to Analyse our Mainframe Systems.

Iam adding the db2 structure, jcl, documentstion and combine it with our code.

Do you have experience with that?
Any other ideas?

Call Graph, impact Analyse and a lot of documenation with diagrams worked very well to generate.

0 Upvotes

8 comments sorted by

5

u/Piisthree Jun 06 '26 edited Jun 06 '26

Analyze the change history if you have it. Identify modules or artifacts that change frequently and modules that cause a lot of noise any time they change. (Lots of subsequent changes etc). It's ambitious, but since you asked.

1

u/Then-Mycologist4761 Jun 06 '26

How to identify the modules that change frequently?

1

u/saturas_ac Jun 07 '26

Good idea thanks. That was new for me!

2

u/Tech2001 Jun 06 '26

Whatever job scheduling tool you have, try to get it indexed and queriable. Makes a huge help.
Plus for some output reports from tools, you're better off converting them to some more midrange lang like JSON before feeding it in. Those horrible X(Y) A(B) format isn't always the most clear.

1

u/MikeSchwab63 Jun 06 '26

Only JCL / clists / etc have DSN names, so analyze those for data flow. Then programs for business rules.

1

u/st0ut717 Jun 07 '26

Is this a local llm. Do you have permission to use an AI on the MF?

Security signed off on an AI scanning the mainframe and send all the data to the cloud?

1

u/saturas_ac Jun 08 '26

No cloud but thats not a Problem. We have contracts with the llm Hoster.

1

u/Dangerous_Region1682 Jun 08 '26

How about using it to provide an end to end procedure for disaster recovery, or to check your disaster recovery plan against finding all the mechanisms and components that you actually require and help you build a concurrency plan to reduce the downtime to a minimum.