LINEDIT Macro Then, the line is displayed in accordance with the CP EMSG setting.
IfEMSG is set to ON, then the entire message is displayed; if EMSG is set to TEXT, then only the message portion is displayed; if EMSG is set to CODE, then only the lO-character code is displayed. Use the BUFF! operand to specify the address of a buffer into which the
edited message is to be written. The message is copied into the
indicated buffer, as well as being used as specified in theDISP operand. The format of the BUFFA operand is: BUFF!={addreSS} (reg) When the text is copied into the buffer, the length of the message
text is inserted into the first byte of the buffer, and the remainder of
the text is inserted in subsequent bytes.
Ifyou use register notation to indicate the buffer address, the code
generated will not be reentrant. To suppress theMNJTE that informs you
that code is not reentrant, use theRENT=NO operand. Use the MF operand to specify the macro format when you want to code
list and execute forms when you write reentrant programs. The format of
theMF operand is: } MF= L (E,faddr \l ( l (reg) f
MF=I(Standard form)
generates an inline operand list for the macro instruction,
and calls the routine that displays the message. This is the
default. It qenerates reentrant code, except under the following
circumstances:• When you specify more than one SUbstitution list • When you use register notation with the TEXTA or BUFF! operands
MF=L (List form)
generates a parameter list to be filled in when the execute form of
the macro is used.
The size of the area reserved
substitutions to be made, which you
operand. For example:
LINEDITMF=L,MAXSUBS=5 depends upon the
can specify with
number of
theKAXSUBS reserves space for
substitution lists.
macro instructions.
a parameter list
This same list may
thatmay hold up to five
be used by several LINEDIT
328 IBMVM/37Q eMS Command and Macro Reference
If
edited message is to be written. The message is copied into the
indicated buffer, as well as being used as specified in the
text is inserted into the first byte of the buffer, and the remainder of
the text is inserted in subsequent bytes.
If
generated will not be reentrant. To suppress the
that code is not reentrant, use the
list and execute forms when you write reentrant programs. The format of
the
MF=I
generates an inline operand list for the
and calls the routine that displays the message. This is the
default. It qenerates reentrant code, except under the following
circumstances:
MF=L (List form)
generates a parameter list to be filled in when the execute form of
the macro is used.
The size of the area reserved
substitutions to be made, which you
operand. For example:
LINEDIT
can specify with
number of
the
substitution lists.
macro instructions.
a parameter list
This same list may
that
be used by several LINEDIT
328 IBM