Learning Library

← Back to Library

Modern Mainframe Automation with Python

Key Points

  • The speaker contrasts the traditional mainframe workflow—heavy reliance on multiple JCL scripts, manual edits, and long turnaround times—with modern development practices.
  • By adopting familiar tools from college such as VS Code, YAML configuration files, and Python scripts, their team streamlined DB2 installation and customization.
  • The Python‑driven automation reads the YAML, executes the necessary steps, and produces a fully provisioned DB2 instance, turning a previously cumbersome process into an efficient, repeatable pipeline.
  • This approach demonstrates that new mainframe developers can leverage contemporary automation techniques without special training, dispelling myths about mainframe development being outdated or inaccessible.

Full Transcript

# Modern Mainframe Automation with Python **Source:** [https://www.youtube.com/watch?v=Uq8GN96fBDA](https://www.youtube.com/watch?v=Uq8GN96fBDA) **Duration:** 00:03:31 ## Summary - The speaker contrasts the traditional mainframe workflow—heavy reliance on multiple JCL scripts, manual edits, and long turnaround times—with modern development practices. - By adopting familiar tools from college such as VS Code, YAML configuration files, and Python scripts, their team streamlined DB2 installation and customization. - The Python‑driven automation reads the YAML, executes the necessary steps, and produces a fully provisioned DB2 instance, turning a previously cumbersome process into an efficient, repeatable pipeline. - This approach demonstrates that new mainframe developers can leverage contemporary automation techniques without special training, dispelling myths about mainframe development being outdated or inaccessible. ## Sections - [00:00:00](https://www.youtube.com/watch?v=Uq8GN96fBDA&t=0s) **From JCL to Modern DevOps** - The speaker contrasts legacy JCL‑driven mainframe infrastructure builds with a contemporary workflow that uses VS Code, YAML, and Python to simplify configuration and deployment. ## Full Transcript
0:00so last time Rosen and I talked to you 0:01guys we talked about what it's like to 0:03be a new main framer in this world 0:05starting new career any fears 0:07excitements all that good stuff we 0:09talked a little bit about any myths and 0:12kind of lore and about Z and 0:15Mainframe but we want to take a little 0:17bit more closer look at that let's talk 0:19about the traditional way to get some 0:20context first rosand yeah so in my world 0:24or the traditional world to build 0:27infrastructure we have JCL we have to 0:29modify get changes to do kicks regions 0:32we have JCL to do it db2 yes again more 0:36JCL let's go a little bit more in this 0:38example the JCL isn't one JCL it's a 0:41bunch of JCL my configuration my rack F 0:44all of the I have to do it right for 0:46every single piece so yes modifying JCL 0:50submitting modifying JCL 3 hours 0:54everything's perfect one week yeah 0:57that's more normal not the best way 1:01that worked for a little bit it looked 1:02for worked for some time rosn talked 1:04about JCL running jobs and all of this 1:08other stuff using tools that I didn't 1:12really understand when I first got here 1:14so I didn't worry about that instead I 1:17used modern tooling that I learned in 1:18college and still absolutely worked with 1:21c and my work use tools like vs code 1:25writing yaml files and most importantly 1:28python python was huge when I when I 1:31first started out here and still is 1:33today so let's take a closer look at 1:35what what I actually did what my team 1:37and I did start with the yaml because 1:40yaml is where it all 1:41started this yaml has all the 1:44configurations we need for to install 1:46and customize our 1:48db2 any changes we need to make any 1:51updates we want to make to our system or 1:53something our product owner asks us to 1:55do it's easy to make that change you 1:57just go in here make the change run it 2:00through our Python scripts and our db2 2:02is up and running again let's take a 2:04look at these Python scripts because 2:06that's pretty important and again all 2:08this stuff was in VVS code something I 2:10learned in college everyone's easy to 2:13use so 2:16python we have a series of scripts 2:18written in Python that go through each 2:21of the installation steps that are 2:23needed to install this db2 and customize 2:25it to what we want it to 2:27be uh and it say eventually it will 2:30become this fully automated process 2:32where any anyone who uses our product 2:34can send their yaml in run through the 2:36steps pops out the 2:40db2 this fully automated process was 2:42easy it's easy to understand it's 2:44efficient I can do it I I did this it 2:46was exciting experience and not 2:49something that I needed to do any kind 2:51of special training on and any new 2:54person coming into the main frame can do 2:55something exactly like this so I hope 2:58that this talk kind of spelled any 3:00rumors or scary ideas you had about 3:03being a new person coming into the zor I 3:06graduated college less than a year ago 3:08all the tools that I used in college the 3:10automation I used all still applied here 3:12in the real world in 3:15Mainframe and how about the rest of us 3:17we can use this too and take advantage 3:19of all this great technology modern 3:22tools modern 3:24automation thanks for watching before 3:26you leave please remember to hit like 3:28And subscribe