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

Chapter 21
SLPATCH
Operation
174
Operation
To invoke SLPATCH enter:
SLPATCH
or
RUN SLPATCH.PUB.SYS
SLPATCH responds with the following and displays ? to prompt you for the SL file name you wish to work on.
Enter the file name in the form: filename[.groupname[.acctname]], and use all uppercase letters. For
example:
SLPATCH A.43.11 (C) HEWLETT-PACKARD CO., 1976
SL FILE? SL.PUB.HITECH
When SLPATCH accepts the name of the segmented library file, it displays another ? to prompt you for a
segment name and a command. SLPATCH continues to display this prompt, awaiting another command, until
you exit the utility. To terminate SLPATCH, enter EXIT at the ? prompt.
D
This command displays the contents of an SL segment. To invoke this command enter:
?[ segname,] D, segdisplace[, numwords]
Parameters
M
This command modifies the contents of an SL segment. To invoke this command enter:
? [segname,] M, segdisplace [,numwords]
Parameters
The contents of each word to be modified is displayed, followed by a comma. To retain the old value, enter *
and press
Return. To enter a new value, type the number (in octal) and press Return. If you only press Return,
you will be prompted to enter * or a number.
segname The name of the segment you want to display, obtained from an SLCREF (SL
Cross-Reference) listing. This parameter must be specified the first time the
segment is accessed, but may be omitted in subsequent commands.
segdisplace The segment displacement.
numwords The number of words of the SL to display. The default is one.
segname The name of the segment you want to modify, obtained from an SLCREF (SL
Cross-Reference) listing. This parameter must be specified the first time the
segment is accessed, but may be omitted in subsequent commands.
segdisplace The segment displacement.
numwords The number of words SL modifies. The default is one.