MPE/iX System Utilities Reference Manual (32650-90882)

Chapter 22 199
SOMPATCH
Operation
When running the program interactively, the current MODIFY command is not applied,
but all previous good MODIFY commands are applied.
If the input to the SOMPATCH utility is coming from a patch file, and the SOM being
patched has not been built with a ypatch file, then the current MODIFY command is not
applied, but all previous good MODIFY commands are applied.
If the input to the SOMPATCH utility is coming from a patch file, and the SOM being
patched has been built with a ypatch file, then none of the current patch (as specified by
the last LOG command) is applied.
Example
sp>modify iobuf+10 2154#### FFFFFFFF
Return
{only check upper 16 bits}
Also refer to the "Operation" section for an example of this command.
Error Messages
Symbol symbolname not found.
CAUSE PATCHJCW is set to the FATAL condition.
ACTION Change the PATCHJCW setting.
Old value is not as specified.
CAUSE The old value is displayed, and PATCHJCW is set to the FATAL condition.
ACTION Specify the old value.
Illegal syntax--use help.
CAUSE PATCHJCW is set to the FATAL condition.
ACTION Use the help facility, and supply the legal syntax.
OFFSET
This command searches for a set of numbers in a range around a specified symbol.
Syntax
OFFSET
symbolname number0
[
number1 number 2
...
numbern
]
Parameters
symbolname Symbolname
is an entry from the library symbol table or current SOM
dictionary.
numbern Number0
..
numbern
is a sequence of numbers that the user is looking for.
The maximum is 10 numbers.
This command is used mainly in relocating a patch. When an NL is relinked, all those
patches that were not bound to their own entry-level procedure (refer to the SYMBOL
command) move around. The OFFSET command can be used to find their new location.