Binder Manual (G06.27+, H06.04+, J06.03+)
BIND Commands
Binder Manual—528613-004
3-34
MODIFY Command
MODIFY Command
The MODIFY command changes the values of words in the code and data blocks of
the target file. No changes are made to existing files.
You can use MODIFY with nested code blocks (blocks with a lexical level greater than
one); however, if you do not specify a fully qualified name, Binder selects the first
occurrence of the code block name in the file.
CODE code-block-name
specifies the name of a code block in the include code block list to be modified.
Use the INFO INCLUDE CODE * command to display the include code block list.
DATA data-block-name
is the name of a data block in the include data block list to be modified. Use the
INFO INCLUDE DATA * command to display the include data block list.
modify-spec
specifies the input format for value and the output format for the current values.
The default is OCTAL. modify-spec is one of the following:
ASCII
DECIMAL
HEX
OCTAL
offset
is the offset, in octal, from the base of the block of the word to receive value. The
default is the base of the block (offset 0).
value
is an expression that replaces the word contents. Binder prompts (interactively) for
the new value if you omit it and assumes value is in the same format as modify-
spec. You must enclose an ASCII value in quotation marks.
If you specify more than one value, Binder modifies word locations sequentially.
Considerations
•
Prompting Sequence.
MODIFY { CODE code-block-name }
{ DATA data-block-name }
[ modify-spec ] [ offset ] [ , value ]...