# US 2014/0157234 A1 · Overriding System Attributes and Function Returns in a Software Subsystem

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

- Number: US 2014/0157234 A1
- Document ID: US20140157234A1
- Status: Published application
- Kind: A1
- Application number: 13/690,442
- Filed: 2012-11-30
- Published: 2014-06-05
- Earliest claimed: 2012-11-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: John Farrugia; Michael J. Jones; David Dean Sanner
- Web page: https://patentgrep.com/patent/US20140157234A1

## CPC

- G06F 8/70: Software maintenance or management
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 11/3672: {Test management}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An approach is provided in which a request is received from a software module to retrieve a value stored in a pre-defined location. Prior to retrieving the value, an override tank is checked for a corresponding override value. When the override tank includes an override value, the override value in the override tank is provided to the software module. When the override tank fails to include a corresponding override value, an actual value is retrieved from a pre-defined storage location and provided to the software module. In one embodiment, the override value is an override system attribute value. In another embodiment, the override value is an override function return value.

## Claims

### Claim 1

(canceled)

### Claim 2

(canceled)

### Claim 3

(canceled)

### Claim 4

(canceled)

### Claim 5

(canceled)

### Claim 6

(canceled)

### Claim 7

An information handling system comprising:
one or more processors;
a memory coupled to at least one of the processors;
a set of computer program instructions stored in the memory and executed by at least one of the processors in order to perform actions of:
receiving a request from a software module to retrieve a system attribute value stored in a first storage location;
determining whether an override system attribute value corresponding to the request is available in a second storage location;
in response to determining that the override system attribute value is available:
retrieving the override system attribute value from the second storage location; and
providing the override system attribute value to the software module; and
in response to determining that the override system attribute value fails to be available in the second storage location:
retrieving the system attribute value from the first storage location; and
providing the system attribute to the software module.

### Claim 8 (depends on 7)

The information handling system of claim 7 wherein the processors perform additional actions comprising:
creating an override file based upon one or more override values received from a developer;
generating one or more override system attribute values according to the override file, wherein the override system attribute value is included in the one or more override system attribute values; and
storing the one or more override system attribute values in the second storage location.

### Claim 9 (depends on 8)

The information handling system of claim 8 wherein the override file is a text file and the one or more system attribute values stored in the second storage location are binary data structures.

### Claim 10 (depends on 7)

The information handling system of claim 7 wherein the processors perform additional actions comprising:
receiving a request from the software module to change the system attribute value stored in the first storage location;
determining whether a non-constant override system attribute value corresponding to the request is available in the second storage location;
clearing the non-constant override system attribute value in response to determining that the non-constant override system attribute value is available; and
changing the system attribute value stored in the first storage location.

### Claim 11 (depends on 7)

The information handling system of claim 7 wherein the system attribute value is implicitly unknown to the software module and the first storage location is a pre-defined storage location.

### Claim 12 (depends on 11)

The information handling system of claim 11 wherein the first storage location is selected from the group consisting of a vital product data attribute location, a memory attribute location, and an algorithm generated attribute location.

### Claim 13

A computer program product stored in a computer readable storage medium, comprising computer program code that, when executed by an information handling system, causes the information handling system to perform actions comprising:
receiving a request from a software module to retrieve a system attribute value stored in a first storage location;
determining whether an override system attribute value corresponding to the request is available in a second storage location;
in response to determining that the override system attribute value is available:
retrieving the override system attribute value from the second storage location; and
providing the override system attribute value to the software module; and
in response to determining that the override system attribute value fails to be available in the second storage location:
retrieving the system attribute value from the first storage location; and
providing the system attribute to the software module.

### Claim 14 (depends on 13)

The computer program product of claim 13 wherein the information handling system performs additional actions comprising:
creating an override file based upon one or more override values received from a developer;
generating one or more override system attribute values according to the override file, wherein the override system attribute value is included in the one or more override system attribute values; and
storing the one or more override system attribute values in the second storage location.

### Claim 15 (depends on 14)

The computer program product of claim 14 wherein the override file is a text file and the one or more system attribute values stored in the second storage location are binary data structures.

### Claim 16 (depends on 13)

The computer program product of claim 13 wherein information handling system performs additional actions comprising:
receiving a request from the software module to change the system attribute value stored in the first storage location;
determining whether a non-constant override system attribute value corresponding to the request is available in the second storage location;
clearing the non-constant override system attribute value in response to determining that the non-constant override system attribute value is available; and
changing the system attribute value stored in the first storage location.

### Claim 17 (depends on 13)

The computer program product of claim 13 wherein the system attribute value is implicitly unknown to the software module and the first storage location is a pre-defined storage location.

### Claim 18

(canceled)

### Claim 19

(canceled)

### Claim 20

(canceled)

### Claim 21

(canceled)

### Claim 22

An information handling system comprising:
one or more processors;
a memory coupled to at least one of the processors;
a set of computer program instructions stored in the memory and executed by at least one of the processors in order to perform actions of:
receiving a request from a software module to retrieve a function return value stored in a first storage location;
determining whether an override function return value corresponding to the request is available in a second storage location;
in response to determining that the override function return value is available:
retrieving the override function return value from the second storage location; and
providing the override function return value to the software module; and
in response to determining that the override function return value fails to be available in the second storage location:
retrieving the function return value from the first storage location; and
providing the function return value to the software module.

### Claim 23 (depends on 22)

The information handling system of claim 22 wherein the determining of whether the override function return value is available further comprises:
sending a request to an attribute get macro, wherein the attribute get macro accesses the second storage area; and
receiving a response from the attribute get macro that indicates whether the override function return value is available in the second storage area.

### Claim 24 (depends on 23)

The information handling system of claim 23 further comprising:
creating an override file based upon one or more override values received from a developer;
generating one or more override function return values according to the override file, wherein the override function return value is included in the one or more override function return values; and
storing the one or more override function return values in the second storage location.

### Claim 25 (depends on 24)

The information handling system of claim 24 wherein the override file is a text file and the one or more system attribute values stored in the second storage location are binary data structures.
