System Debug Reference Manual (32650-90888)

Chapter 6 211
System Debug Command Specifications M-X
MACD[EL]
$nmdat > double 3 true
the double of $3 = $6
$nmdat > double ( (1+2)*3 )
the double of $9 = $12
$nmdat > double
the double of $123 = $246
$nmdat > double 6,false
$nmdat >
Limitations, Restrictions
Refer to ENV MACROS and ENV MACROS_LIMIT. These environment variables determine the
number of macros that can be created.
Current limit of 32 characters in a macro name or macro parameter name.
Current limit of five parameters per macro.
Macro parameters are passed by value. Parameter values are not changed.
The total length of an entire macro definition is limited by the maximum supported string
length, that is currently 2048 characters. See the STRMAX function.
The System Debug interpreter maintains an internal command stack for general
command execution, including the execution of macros. The command stack is large
enough to support the useful nesting of macros, including simple recursive macros.
Command stack overflow is possible, however, and when detected, results in an error
message and the immediate termination of the current command line execution. Following
command stack overflow, the stack is reset, the prompt is displayed, and normal command
line interpretation resumes.
MACD[EL]
Macro delete. Deletes the specified macro definition(s).
Syntax
MACD[EL]
pattern
Parameters
pattern
The name(s) of the macro(s) to be deleted.
This parameter can be specified with wildcards or with a full regular
expression. Refer to appendix A for additional information about pattern