LINEDIT Macro MAXSGBS specifies the maximum number of sUbstitutions (MAXSUBS is used
with the list form of the RENT specifies whether reentrant code must be generated.
1. You should never use registers 0, 1, or 15 as address registers
when you code the LINEDIT macro instruction; these registers are
used by the macro.
2. When message text for the LINEDIT macro instruction contains two or more consecutive periods, it indicates that a substitution is to be
performed on that portion of the message. The number of periods
you code indicates the number of characters that you want to appear
as output. To indicate what values are to replace the periods, code
a substitution list using the SUB operand.
3. When you use the standard (default) form of the LINED IT macro
instruction, reentrant code is produced, except when you specify more than one SUbstitution list, or when you use register notation
to indicate an address on the TEXTA or BUFFA operands. When any of
these conditions occur, an MNOTE message is produced, indicating
that the code is not reentrant.
If you do not care whether the code is reentrant, you can specify
the RENT=NO operand to suppress the MNOTE message. Otherwise, you
can use the list and execute forms of the macro to write reentrant
code (see "MF Operand"). 4. When the macro completes, register 15 may contain the value 2 or 3,
indicating that a channel 9 or channel 12 punch was sensed,
respectively. You can use these codes to determine whether the end
of the page is near (channel or if the end of the page has been
reached (channel 12). 320 VM/370 eMS Command and Macro Reference
LINEDIT Macro Use the TEXT operand to specify the exact text of the message on the
macro instruction. The message text must appear within single quotation
marks, follows: TEXT=' message text'
If vou want a single quotation mark
text, you must code two of them.
Text specified on the LINEDIT macro
appear only a single blank, and a
line, for example:
to appear within the actual message
is edited so that multiple blanks
period is placed at the end of the LINEDI! TEXT='IT ISN"T READY' results in the display:
IT ISN'T READY. Use the TEX!A operand when you want to display a line that is contained
in a buffer. You may specify either a symbolic address or use register
notation; as follows: TEXTA={label} (reg)
In either case, the first byte at the address specified must contain the
length of the message text, for example:
LINEDIT TEXTA=MESSAGE MESSAGE DC
DC X' 16 '
CL22'THIS IS A LINE OF TEXT' If you use register notation with either the standard or list forms of
the macro, the code generated is not reentrant. To suppress the MNOTE that informs you that code is not reentrant, use the RENT=NO operand. Use the DOT operand when you do not want a period placed at the end of
the message text. The format of the DOT operand is: NO For example, if you code: Section 6. CMS Macro Instructions 321
Previous Page Next Page