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

196 Chapter22
SOMPATCH
Operation
Syntax
F[IND]
symbolspec
Parameters
symbolspec
The string name of an external symbol as given in the link map for the file
being patched. All symbols are case-sensitive.
The "at" symbol (@) may be used as a leading or trailing mask, as shown in the example
below.
Example
The following example displays `trap_handler$248$set_up_user_trap
:find @set_up_user_trap
HELP
This command displays a summary of commands, including syntax and options.
Syntax
HE[LP]
Parameters
None
LIST
This command causes the SOMPATCH utility to open an output list file.
Syntax
LI[ST]
filename
Parameters
filename
The output list file name. If you omit the group and account,
SOMPATCHcreates the file in the logon group and account.
SOMPATCH uses the output list file to record all commands it encountered, all old values
that were modified, and any errors that occurred.
Example
To append output to an existing file, use the C-shell redirection feature. For example:
sompatch "mainfile <cmdfile >>listfile"
If for some reason the file cannot be opened, an error message is generated and the JCWs
are set to WARN status. Reissue the LIST command and enter a legal output file name.
LOG
This command records important information about the specified patch.