# US 2023/0053645 A1 · Method and system for automated refactoring of mainframe based batch systems to cloud native environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0053645 A1
- Document ID: US20230053645A1
- Status: Published application
- Kind: A1
- Application number: 17/743,546
- Filed: 2022-05-13
- Published: 2023-02-23
- Earliest claimed: 2021-07-22
- Assignees: Tata Consultancy Services Limited
- Applicants: Tata Consultancy Services Limited
- Inventors: Yogananda RAVINDRANATH; Tamildurai MEHALINGAM; Karthick PERIYASAMY; Rama RANGARAJAN; Mounica Thamatam REDDY
- Web page: https://patentgrep.com/patent/US20230053645A1

## CPC

- G06F 8/35: model driven
- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 8/76: Adapting program code to run in a different environment; Porting
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A Mainframe batch system have various type of source components and each component has its own purpose and functionality within the environment. Existing refactoring are still dependent on manual skills and competency. A method and system for automated refactoring of mainframe based batch systems to cloud native environment is provided. The present disclosure proposes an intelligent automation model that comprehends every aspect of the existing Mainframe batch system, all its inherent source elements along with its dependencies. With this holistic understanding of all the elements of the Mainframe batch system, the system converts the information within them into a proprietary conceptual model. This model has all the information about the source elements is converted into the target architecture which is cloud native. The combination of the model with the externalizable command based templates (EBCT) aligns the conversion to any target technology feasible.

## Claims

### Claim 1

A processor implemented method for automated refactoring of mainframe based batch systems to a cloud native environment, the method comprising:
providing, via a user interface, an application as an input, wherein the application comprises a plurality of components, and the application is present on the mainframe based batch systems;
grouping, via one or more hardware processors, the plurality of components to analyze relationships and dependency links between the plurality of the components of the mainframe based batch system;
eliminating, via the one or more hardware processors, a plurality of technology dependent components present in the grouped plurality of components to create an expanded version of the plurality of components which mimics the mainframe based batch systems;
creating, via the one or more hardware processors, a proprietary language independent model (PLIM) using the expanded plurality of components, wherein the proprietary language independent model comprises information from the plurality of JCL components and a plurality of tags required for refactoring;
identifying, via the one or more hardware processors, a target technology on which the refactoring is going to be done on the cloud native environment;
creating, via the one or more hardware processors, a conversion of the application through externalized command based templates (ECBT), wherein the ECBT are aligned to the proprietary language independent model (PLIM) and the target technology; and
combining, via the one or more hardware processors, externalized commands in the ECBTs with the proprietary language independent model, wherein the combining results in the refactoring of each of the plurality of JCL components to the target technology.

### Claim 2 (depends on 1)

The processor implemented method of claim 1, wherein the target cloud native environment comprises one of a Spring batch project, an AWS batch project, or a cloud based batch systems.

### Claim 3 (depends on 1)

The processor implemented method of claim 1, wherein the expanded version of the plurality of components comprising of a plurality of syntactical forms from the plurality of components, wherein the plurality of components is processed with a unified proprietary parsing techniques to create the proprietary language independent model, wherein the proprietary language independent model (PLIM) is configured to capture information from source components that is required for translation.

### Claim 4 (depends on 1)

The processor implemented method of claim 1, wherein the plurality of components comprises a plurality of JCL components, JCL PROCs, control cards, Query Management Files (QMFs), Virtual Storage Access Method (VSAM) files and batch utilities.

### Claim 5 (depends on 1)

The processor implemented method of claim 1, wherein the ECBT is made of Commands, Tags and the Target component equivalent information takes the PLIM as input and configured to one of an extract of map the source component information and results in generating the equivalent target component.

### Claim 6

A system for automated refactoring of mainframe based batch systems to a cloud native environment, the system comprises:
a user interface for providing an application as an input, wherein the application comprises a plurality of components, and the application is present on the mainframe based batch systems;
one or more hardware processors;
a memory in communication with the one or more hardware processors, wherein the one or more first hardware processors are configured to execute programmed instructions stored in the one or more first memories, to:
group the plurality of components to analyze relationships and dependency links between the plurality of the components of the mainframe based batch system;
eliminate a plurality of technology dependent components present in the grouped plurality of components to create an expanded version of the plurality of components which mimics the mainframe based batch systems;
create a proprietary language independent model (PLIM) using the expanded plurality of components, wherein the proprietary language independent model comprises information from the plurality of JCL components and a plurality of tags required for refactoring;
identify a target technology on which the refactoring is going to be done on the cloud native environment;
create a conversion of the application through externalized command based templates (ECBT), wherein the ECBT are aligned to the proprietary language independent model (PLIM) and the target technology; and
combine externalized commands in the ECBTs with the proprietary language independent model, wherein the combining results in the refactoring of each of the plurality of JCL components to the target technology.

### Claim 7 (depends on 6)

The system of claim 6, wherein the target cloud native environment comprises one of a Spring batch project, an AWS batch project, or a cloud based batch systems.

### Claim 8 (depends on 6)

The system of claim 6, wherein the expanded version of the plurality of components comprising of a plurality of syntactical forms from the plurality of components, wherein the plurality of components is processed with a unified proprietary parsing techniques to create the proprietary language independent model, wherein the proprietary language independent model (PLIM) is configured to capture information from source components that is required for translation.

### Claim 9 (depends on 6)

The system of claim 6, wherein the plurality of components comprises a plurality of JCL components, JCL PROCs, control cards, Query Management Files (QMFs), Virtual Storage Access Method (VSAM) files and batch utilities.

### Claim 10 (depends on 1)

The method of claim 1, wherein the ECBT is made of Commands, Tags and the Target component equivalent information takes the PLIM as input and configured to one of an extract of map the source component information and results in generating the equivalent target component.

### Claim 11

One or more non-transitory machine-readable information storage mediums comprising one or more instructions which when executed by one or more hardware processors cause:
providing, via a user interface, an application as an input, wherein the application comprises a plurality of components, and the application is present on the mainframe based batch systems;
grouping, the plurality of components to analyze relationships and dependency links between the plurality of the components of the mainframe based batch system;
eliminating, via the one or more hardware processors, a plurality of technology dependent components present in the grouped plurality of components to create an expanded version of the plurality of components which mimics the mainframe based batch systems;
creating, via the one or more hardware processors, a proprietary language independent model (PLIM) using the expanded plurality of components, wherein the proprietary language independent model comprises information from the plurality of JCL components and a plurality of tags required for refactoring;
identifying, via the one or more hardware processors, a target technology on which the refactoring is going to be done on the cloud native environment;
creating, via the one or more hardware processors, a conversion of the application through externalized command based templates (ECBT), wherein the ECBT are aligned to the proprietary language independent model (PLIM) and the target technology; and
combining, via the one or more hardware processors, externalized commands in the ECBTs with the proprietary language independent model, wherein the combining results in the refactoring of each of the plurality of JCL components to the target technology.

### Claim 12 (depends on 11)

The one or more non-transitory machine-readable information storage mediums of claim 11, wherein the target cloud native environment comprises one of a Spring batch project, an AWS batch project, or a cloud based batch systems.

### Claim 13 (depends on 11)

The one or more non-transitory machine-readable information storage mediums of claim 11, wherein the expanded version of the plurality of components comprising of a plurality of syntactical forms from the plurality of components, wherein the plurality of components is processed with a unified proprietary parsing techniques to create the proprietary language independent model, wherein the proprietary language independent model (PLIM) is configured to capture information from source components that is required for translation.

### Claim 14 (depends on 11)

The one or more non-transitory machine-readable information storage mediums of claim 11, wherein the plurality of components comprises a plurality of JCL components, JCL PROCs, control cards, Query Management Files (QMFs), Virtual Storage Access Method (VSAM) files and batch utilities.

### Claim 15 (depends on 11)

The one or more non-transitory machine-readable information storage mediums of claim 11, wherein the ECBT is made of Commands, Tags and the Target component equivalent information takes the PLIM as input and configured to one of an extract of map the source component information and results in generating the equivalent target component.

### Claim 16 (depends on 11)

The one or more non-transitory machine-readable information storage mediums of claim 11, wherein the ECBT is made of Commands, Tags and the Target component equivalent information takes the PLIM as input and configured to one of an extract of map the source component information and results in generating the equivalent target component.
