# US 2025/0085961 A1 · Methods and systems for mainframe downtime reduction

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

- Number: US 2025/0085961 A1
- Document ID: US20250085961A1
- Status: Published application
- Kind: A1
- Application number: 18/808,672
- Filed: 2024-08-19
- Published: 2025-03-13
- Earliest claimed: 2023-09-08
- Assignees: Barclays Execution Services Limited
- Applicants: Barclays Execution Services Limited
- Inventors: Aniruddha THAKUR; Hrishikesh DESHPANDE
- Web page: https://patentgrep.com/patent/US20250085961A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 8/656: while running
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There is provided a computer-implemented method for handling mainframe system downtime, the mainframe system comprising an environment library that supports the execution of one or more applications on the mainframe system, the environment library having a default version, the method comprising: creating an ephemeral version of the environment library by copying the default version of the environment library, and setting the ephemeral version of the environment library to active; setting the default version of the environment library to offline, and updating the default version of the environment library; once the update has completed, setting the updated default version of the environment library to active; and deleting the ephemeral version of the environment library.

## Claims

### Claim 1

A computer-implemented method for handling mainframe system downtime, the mainframe system comprising an environment library that supports the execution of one or more applications on the mainframe system, the environment library having a default version, the method comprising:
creating an ephemeral version of the environment library by copying the default version of the environment library, and setting the ephemeral version of the environment library to active;
setting the default version of the environment library to offline, and updating the default version of the environment library;
once the update has completed, setting the updated default version of the environment library to active; and
deleting the ephemeral version of the environment library.

### Claim 2 (depends on 1)

The method of claim 1, wherein the default version of the environment library comprises a first precompiled set of commands that is configured to support the execution of one or more applications prior to the default version of the environment library being updated, and, optionally, wherein, the ephemeral version of the environment library comprises the first precompiled set of commands that is configured to support the execution of one or more applications.

### Claim 3 (depends on 2)

The method of claim 2, wherein updating the default version of the environment library comprises generating a second precompiled set of commands, wherein the updated default version of the environment library comprises the second precompiled set of commands that is configured to support the execution of one or more applications.

### Claim 4 (depends on 3)

The method of claim 3, wherein setting the updated default version of the environment library to active comprises reconfiguring the mainframe system to use the second precompiled set of commands instead of the first precompiled set of commands.

### Claim 5 (depends on 2)

The method of claim 2, wherein supporting the execution of one or more applications comprises accessing data stored in one or more databases.

### Claim 6 (depends on 2)

The method of claim 2, wherein the first precompiled set of commands comprises load modules, DB2 packages and IMS blocks.

### Claim 7 (depends on 6)

The method of claim 6, wherein the first precompiled set of commands further comprises one or more of: reference data updates, IMS database structure, DB2 plans, DB2 structure, DB2 timestamps, and/or IMS control build.

### Claim 8 (depends on 1)

The method of claim 1, wherein the method comprises at least one mainframe system downtime period, and, optionally, wherein the at least one mainframe system downtime period comprises a first mainframe system downtime period, wherein the first mainframe system downtime period begins prior to both the ephemeral version of the environment library being set to active and the default version of the environment library being set to offline, and ends after both the ephemeral version of the environment library is set to active and the default version of the environment library is set to offline.

### Claim 9 (depends on 8)

The method of claim 8, wherein the at least one mainframe system downtime period comprises a second mainframe system downtime period, wherein the second mainframe system downtime period begins prior to the updated default version of the environment library being set to active, and ends after the updated default version of the environment library is set to active.

### Claim 10 (depends on 9)

The method of claim 9, further comprising, during the second mainframe system downtime period: applying update changes to the mainframe system.

### Claim 11 (depends on 1)

The method of claim 1, wherein the default and ephemeral versions of the environment library are switched between being set to active or offline by a REXX script.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
renaming, using the REXX script, the versions of the environment library.

### Claim 13 (depends on 11)

The method of claim 11, wherein the REXX script points batch and online transaction processes to the version of the environment library which is being set to active.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
making a database copy each time the version of the environment library which is set to active is changed.

### Claim 15 (depends on 1)

The method of claim 1, wherein updating the default version of the environment library comprises adding, deleting and/or upgrading one or more of: one or more load modules of the default version of the environment library, one or more Db2 packages of the default version of the environment library, and/or reference data included in the default version of the environment library.

### Claim 16 (depends on 1)

The method of claim 1, wherein updating the default version of the environment library comprises one or more of: batch set up, re-baselining libraries, applying IMS blocks, applying Db2 structural changes, applying Db2 plans, packages and timestamps, and/or applying IMS database structural changes and control build.

### Claim 17 (depends on 1)

The method of claim 1, wherein the mainframe system is configured to utilise Db2software and, optionally, wherein the Db2 software is at least version 12.

### Claim 18 (depends on 1)

A computer program product comprising instructions which, when executed by a mainframe system, cause the mainframe system to perform the steps of claim 1.

### Claim 19 (depends on 1)

A non-transitory computer readable medium comprising instructions which, when executed by a mainframe system, cause the mainframe system to perform the method of claim 1.

### Claim 20 (depends on 1)

A mainframe system, the mainframe system comprising at least one processor, wherein the at least one processor is configured to perform the method of claim 1.
