B. Terminal Monitor : Terminal Monitor Macros : System Macros

System Macros
The macro processor contains several other macros built into it. In the following descriptions, some of the parameter specifiers are marked with two dollar signs rather than one. This feature is discussed in (see page Parameter Prescan.
{define; \$\$t; \$\$r}
Defines a macro as discussed previously. Special processing, which is discussed in a later section, occurs on the template part.
{rawdefine; \$\$t; \$\$r}
Specifies another form of {define}, where the special processing does not take place. This is rarely used but is seen when listing macros with the \l command, because the DBMS Server converts all {define} statements into their corresponding {rawdefine} form.
{remove; \$\$n}
Removes all macros beginning with name \$n. For example, typing:
{define; get part \$n; . . . }
{define; get emp \$x; . . . }
Typing:
{remove; get}
removes both of the get macros. Typing {remove; get part} removes only the first macro.
{type \$\$s}
Types \$s onto the terminal
Types \$s and reads a line from the terminal. The typed line acts as the replacement text for the macro.
A Ctrl-Z (VMS) or Ctrl-D (UNIX) (end of file) becomes -1, a single newline becomes zero, and so forth, so that the number accurately reflects printing characters.