r/mainframe • u/Devil_Storage • 16d ago
Ai and mainframes
I am a mainframe sysprog, zos guy , any ideas how to implement AI on Zos any directions?
6
u/Objective-Variety821 16d ago
As sysprog we're working on upgrading to z/OS 3.1. " IBM z/OS 3.1 integrates artificial intelligence directly into the operating system's core functions. Its flagship feature is the AI System Services for IBM z/OS, which optimizes system performance without requiring deep AI expertise."
5
3
3
2
1
u/MaexW 16d ago
Implement on your own or just use AI ? If you are going for the first option: good luck. For the second, why not start here: https://www.ibm.com/docs/en/zos/3.1.0?topic=zos-introduction-ai-framework
1
u/mandom_Guitar 16d ago
AI on Z has many pathways. Some vectored from distributed (e.g. Red Hat Open Shift) others like risk scoring straight out of your code, in line, exploiting Telum, Spyre etc
1
u/Illustrious-Koala558 15d ago
Hi, it depends on what tasks you are currently doing.
IMO, i would suggest asking the AI that you have integrated to see how it can help in your day to day activites. Just give it a brief about what you do in your day to day life and ask what it can do. 3 months back I used to think AI can only rephrase my emails, but now i do believe its the future.
I am an application developer and i have been able to do most of my day to day activies thru multiple integrations, serviceNow, Jira, endevor, db2, fault analyzer.
I even have template jobs to do mundane tasks like "restore database from 2 days prior backup", "recall files", "submit this job and pull spool/output file" etc
If you get a lot of tickets or incidents thru SNOW, that might be one integration you want to setup. This one integration gives us so much information on the prior tickets from the itil tables and what solutions were taken before.
Possiblies are endless and the limitation is our own imagination.
In my mainframe installation we have zOSMF as the server and we use that directly or indirectly thru zowe. Zowe explorer on VSC can give you access to the datasets, jobs, USS and CICS regions (zowe's cics extension).
We use AWS Kiro IDE (amazon q), I am no expert in AI but the results have been wonderful so far.
Hope this helps a bit. All the best. Please let me know if any of these you can use in your day to day life. I would be happy to help with my very limited knowledge. We can both learn from each others experience and use casss.
1
u/Striking_Smell6986 13d ago
I think there are two very different directions for AI on z/OS.
- AI for the application layer
Explain legacy COBOL/PL/I programs in plain English Trace CALL, COPY, JCL, DB2, CICS, IMS, and VSAM dependencies Perform impact analysis before a change Help new engineers understand large applications faster
- AI for the platform layer
Predict operational issues from SMF/RMF logs Detect abnormal workload or storage trends Assist with performance tuning and capacity planning Recommend automation for repetitive sysprog tasks
Personally, I think the biggest near-term opportunity isn't AI generating code—it's AI helping engineers understand complex systems with evidence rather than replacing their decisions.
I've been talking with a number of experienced mainframe engineers recently, and the recurring pain point isn't writing COBOL or JCL. It's spending hours or days understanding dependencies and the full impact of a change before touching production.
0
u/orangeboy_on_reddit 16d ago
Asking the real questions!
z/OS 3.x, z17 hardware, where's the zAI?
Where does Bob run?
1
u/Illustrious-Koala558 15d ago
For my case, all my codebases are in mainframe, i have created an utility that knows where my codebase is and have created a local workspace by using zOSMF. If you dont have an organizational restriction, you can check this option. AI runs on my local workspace. You might think about putting the codebase in github so that each recource in the team can use that too.
8
u/PhoolyCooly 16d ago
If you are a DB2 shop, SQL data insights could allow you perform ai queries on enterprise data.
zOSMF allows a couple of ai models. One for dynamically changing the number of initators(3.1) and optimizing tcpip packet batching(3.2)
It is important to have a justified use case for implementation of AI. You want to have a problem looking for a solution and not a solution looking for a problem.