MPE/iX System Utilities Reference Manual (32650-90882)
165
18 PATCH
The PATCH utility accesses, displays, and/or modifies a
compiled, prepped
executable
modules. You may make simple changes to program instructions or to global stack area
variables with this utility. You may use PATCH on compatibility mode programs only.
Before using this utility you should be familiar with machine-executable instructions and
the internal format of executable modules in the HP3000 system environment.
CAUTION
PATCH bypasses normal MPE/iX safeguards and will modify the contents of
privileged
program files. It is therefore possible to corrupt system file(s) or
the entire operating system. Hewlett-Packard is
not
responsible for
modifications you make to the operating system or system files. For more
information contact your Hewlett-Packard service representative.
Operation
To invoke PATCH enter:
PATCH
or
RUN PATCH.PUB.SYS
PATCH identifies itself, then displays ENTITY=? to request the name of the file you want to
list or modify:
PROGRAM PATCH G.00.00 (C) HEWLETT-PACKARD CO., 1976
ENTITY =?
Enter
filename.groupname.accountname
, in uppercase letters, of the file whose code you
wish to display or change. (PATCH does not immediately verify that the file you specified is
a program file, but you will get an error when you attempt to use a command on a
nonprogram file.)