# US 2008/0189694 A1 · Transparent Recovery of Self-Sustained Code-Upgrade

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

- Number: US 2008/0189694 A1
- Document ID: US20080189694A1
- Status: Published application
- Kind: A1
- Application number: 11/671,631
- Filed: 2007-02-06
- Published: 2008-08-07
- Earliest claimed: 2007-02-06
- Assignees: International Business Machines Corporation
- Inventors: Nicholas D. Fifer; Ilan Gayda; Itzhack Goldberg; Kenneth Nagin
- Web page: https://patentgrep.com/patent/US20080189694A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A defective self-sustained code-upgrade code is recovered. A relevant unset variable is set to avoid an un-initialized command failure. A relevant set variable is unset to render a second invocation of the set variable to appear as a first invocation A fix-named file is retrieved containing a plurality of code entries organized in a stanza style. The fixed-named file is executed. The plurality of stanza-organized entries are sourced by the defective code-upgrade code to change a variable which has been previously set, thereby overriding an existing process.

## Claims

### Claim 1

A method of repairing an applying computer code, comprising:
executing a plurality of code entries, the entries organized according to a stanza style, wherein the applying computer code sources the plurality of stanza-style entries into a running program to change a variable which has been previously set by the running program.

### Claim 2 (depends on 1)

The method of claim 1, further including setting a relevant unset variable to avoid an un-initialized command failure.

### Claim 3 (depends on 1)

The method of claim 1, further unsetting a relevant set variable to render a second invocation of the relevant set variable to appear as a first invocation.

### Claim 4 (depends on 1)

The method of claim 1, further including retrieving a fix-named file containing the plurality of code entries organized according to the stanza-style.

### Claim 5 (depends on 1)

The method of claim 1, wherein the stanza-style entries further include scripting code to perform the variable changing function.

### Claim 6

A method of recovering defective self-sustained code-upgrade code, comprising:
setting a relevant unset variable to avoid an un-initialized command failure;
unsetting a relevant set variable to render a second invocation of the set variable to appear as a first invocation;
retrieving a fix-named file containing a plurality of code entries organized in a stanza style;
executing the fixed-named file, wherein the plurality of stanza-style entries are sourced by the defective code-upgrade code to change a variable which has been previously set, thereby overriding an existing process.

### Claim 7 (depends on 6)

The method of claim 6, wherein the stanza-organized entries further include scripting code to perform the variable changing function.

### Claim 8

A computer program product, comprising:
a computer usable medium including computer usable program code for recovering defective self-sustained code-upgrade code, said computer program product including
computer usable program code for executing a plurality of code entries, the entries organized according to a stanza-style, wherein the applying code sources the plurality of stanza-style entries into a running program to change a variable which has been previously set by the running program.

### Claim 9 (depends on 8)

The computer program product of claim 8, further including computer usable program code for unsetting a relevant set variable to render a second invocation of the relevant set variable to appear as a first invocation.

### Claim 10 (depends on 8)

The computer program product of claim 8, further including computer usable program code for retrieving a fix-named file containing the plurality of code entries organized according to the stanza-style.

### Claim 11 (depends on 8)

The computer program product of claim 8, further including computer usable program code for terminating an associated process to increase the probability that the stanza-style entries are effectively sourced by the running program.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein the stanza-style entries further include scripting code to perform the variable changing function.
