Learning Library

← Back to Library

Mainframe Meets DevOps: Git Integration

Key Points

  • DevOps (often called DevSecOps, Biz DevSecOps, QA Ops, etc.) is about unifying all development, security, and operations teams, and this unification must include mainframe environments.
  • Traditional mainframe deployment uses library managers/production‑control tools that handle source promotion much like modern CI/CD pipelines manage code and artifact flows in the distributed cloud world.
  • Migrating mainframe source (COBOL, PL/1, JCL, REXX, DDL, CICS definitions, etc.) into Git—using Git attributes to specify the correct z/OS code page—places it alongside cloud‑native code and infrastructure‑as‑code assets.
  • Once in Git, the mainframe build can be modernized: automated scans, unit tests, security checks, and artifact creation are added, and the resulting binaries are stored in a shared artifact repository.
  • This unified, Git‑centric pipeline delivers the same rapid feedback, consistency, and automation benefits to mainframe workloads that DevOps provides for cloud‑native applications.

Full Transcript

# Mainframe Meets DevOps: Git Integration **Source:** [https://www.youtube.com/watch?v=umo6kKXD0-Q](https://www.youtube.com/watch?v=umo6kKXD0-Q) **Duration:** 00:06:48 ## Summary - DevOps (often called DevSecOps, Biz DevSecOps, QA Ops, etc.) is about unifying all development, security, and operations teams, and this unification must include mainframe environments. - Traditional mainframe deployment uses library managers/production‑control tools that handle source promotion much like modern CI/CD pipelines manage code and artifact flows in the distributed cloud world. - Migrating mainframe source (COBOL, PL/1, JCL, REXX, DDL, CICS definitions, etc.) into Git—using Git attributes to specify the correct z/OS code page—places it alongside cloud‑native code and infrastructure‑as‑code assets. - Once in Git, the mainframe build can be modernized: automated scans, unit tests, security checks, and artifact creation are added, and the resulting binaries are stored in a shared artifact repository. - This unified, Git‑centric pipeline delivers the same rapid feedback, consistency, and automation benefits to mainframe workloads that DevOps provides for cloud‑native applications. ## Sections - [00:00:00](https://www.youtube.com/watch?v=umo6kKXD0-Q&t=0s) **Mainframe Integration with DevOps** - The speaker outlines how DevSecOps principles—centralized pipelines, source control, automated quality and security checks, and promotion workflows—are applied to mainframe development using library managers and production‑control tools, paralleling modern Git‑based cloud‑native practices. - [00:03:02](https://www.youtube.com/watch?v=umo6kKXD0-Q&t=182s) **Modernizing Mainframe Code with Git** - The speaker describes moving COBOL, PL/1, JCL, REXX, and related assets into Git—using .gitattributes for code‑page conversion—to enable a unified, language‑agnostic build pipeline with automated testing and artifact repository integration. - [00:06:13](https://www.youtube.com/watch?v=umo6kKXD0-Q&t=373s) **Automating Ticket Creation for DevOps** - The speaker introduces modern automation techniques to eliminate tedious tasks such as ticket creation, enabling smoother, collaborative DevOps workflows on the mainframe. ## Full Transcript
0:00DevOps and the mainframe. 0:02They go together. 0:04But what is DevOps? 0:05When we think about DevOps, we really think about DevSecOps. 0:09And DevSecOps, Biz DevSecOps, QA Ops. 0:15All of these various names are used for DevOps, 0:20but it really is, "Let's bring everybody together", 0:23and that's why the mainframe and DevOps has to go together. 0:28We think about cloud native development, 0:32we have pipelines for development, 0:36we use Git as our source manager for development 0:41when we're doing cloud native activities. 0:43We think about the mainframe instead, we have library managers, 0:50or, as many times they're called, production control tools. 0:55And they were created to control the process 0:59of deployment into production, 1:02which is what pipelines do in the distributed side as well. 1:07In many ways they manage the source code so your source is managed. 1:12But in order to move between environments, 1:16you use this simple promotion process. 1:19All you're doing is managing source and your loads through this process 1:24and someone else is doing this promotion to production. 1:29So you have to work with someone else to get through this process. 1:33And it manages your COBOL and your PL/1 1:39And if you're lucky, you're REXX and your JCL. 1:45But in the distributed world in my Git pipeline, 1:50I have Git as my source code manager. 1:53And then the pipeline does things such as scanning my source. 1:59So I get code checks, I get code quality checks, 2:03I can get security scanning, I can do my build, 2:08I can run my unit tests, automated unit tests, not over here. 2:13I'm getting my automated checking right away. 2:16When I'm doing my development, I get my deploy 2:20and I can run more automated test. 2:23So here I'm getting all this value out of the pipeline. 2:27with storing my source in Git. And normally 2:32it's Java and other languages, 2:36but it's also things like TerraForm Patterns. 2:40So not only is my source code 2:42for my application here, but my infrastructure definition. 2:47Yeah, that's missing over in this side. 2:50I don't have that in this world. 2:54So if we think about the mainframe, DevOps, these pipelines, this transformation, 3:01why is my source over here? 3:02Why am I doing things different? 3:05I don't have to ... Git, 3:08it can manage COBOL or PL/1 just as well. 3:11So what do I need to do? 3:13Get my source 3:16and move it into Git. 3:18That's the first step. 3:19Take that source code out 3:22and there's a nice capability of the Git attributes file 3:27In the Git attributes file, 3:29I can indicate what code page I need in the z/OS environment 3:34and it can be UTF8 sitting in Git. 3:36And so my source code can be there alongside everything else. 3:41And now my COBOL and my PL/1 3:46and everything else, JCL, REXX, anything else, 3:52but also my DDL or my CICS definitions. 3:57They can all sit in this Git environment to be then deployed. 4:03I pull the build process out of the system 4:06and convert it into a modern build process. 4:09I can add in my unit tests that I didn't have before 4:13and the deploy, I pull that out 4:16and I can deploy and put my artifacts in an artifact repository 4:23just like they are over here. 4:26And so I have this consistent way of working, 4:29whether or not I'm doing COBOL PL/1 or Java. 4:34It's all the same as a developer. 4:37And what's even better when we think about multi language 4:42capability, if I'm doing CICS, there's no reason 4:46I can't have Java and COBOL 4:51or other languages working together in my CICS environment 4:55and now they can be together in my source code manager. 5:00As a developer, I get to do work one way in one source 5:05code manager using one pipeline and get all the advantages 5:10of the automated testing capabilities that are there. 5:14All of the checking code, scanning code quality capabilities, 5:19all of it provided to me by simply moving into this environment. 5:25Now, I said simply, 5:28I know this isn't simple change. 5:30I know this is a transformation. 5:33I know this is hard to move 5:36from the way you've been doing work for a long time. 5:40But think about it. 5:41This is the way everything else is done today. 5:44We are developers. 5:47We need to be part of this continuous learning culture 5:51and take on this new way of working and so that the mainframe 5:55is just as modern and can work 5:58in all of the same ways as everything else. 6:02And once I've done this, now I can take advantage 6:05of all those other capabilities available on the system, 6:10such as, you know, bringing in a little AI into the system. 6:14So hopefully this has given you an introduction to it's time to move. 6:19Let's take advantage of the modern ways of working the capabilities 6:24we can do through automation to remove those extra tasks that waste 6:29and all those things that we hate doing, like creating tickets 6:34and get to work together across the organization. 6:38Thanks for 6:39watching and don't forget to click like and subscribe. 6:43And to find out more about DevOps and the mainframe, check out the links below.