System Debug Reference Manual (32650-90888)

286 Chapter6
System Debug Command Specifications M-X
VARD[EL]
var s1:str this is a string
Display all currently defined user variables.
Limitations, Restrictions
Refer to ENV VARS, ENV VARS_LOC, and ENV VARS_LIMIT. These environment variables
determine the maximum number of variables that can be defined.
VARD[EL]
Variable delete. Deletes the specified user-defined variable(s).
Syntax
VARD[EL]
pattern
Parameters
pattern
The name of the variable(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
matching and regular expressions.
The following wildcards are supported:
@ Matches any character(s).
? Matches any alphabetic character.
# Matches any numeric character.
The following are valid name pattern specifications:
@ Matches everything; all names.
pib@ Matches all names that start with "pib".
log2##4 Matches "log2004", "log2754", and so on.
The following regular expressions are equivalent to the patterns with
wildcards that are listed above:
`.*`
`pib.*`
`log2[0-9][0-9]4`
Examples
%cmdebug > vardel count
Delete the variable count.