MPE/iX Commands Reference Manual (32650-90877)

152 Chapter5
Command List III
Commands DATA thru EXIT
Syntax
DELETEVAR
varname
[,
varname
] ... [,
varname
]
NOTE
This command follows the optional MPE/iX command line syntax. Refer to
"Optional Format for MPE/iX Commands" at the beginning of this chapter.
Parameters
varname
The name of the variable to be deleted.
Operation Notes
Deletes a specific MPE/iX variable, or all variables specified by a pattern. If you specify
more than one
varname
, you must separate them with commas.
You may use the wildcard characters, @, #, ?, and [ ] to specify a set or range of values.
@ Specifies zero or more alphanumeric characters, or the underbar character
(_). Used by itself, it specifies all possible combinations of such characters.
Used with other characters it indicates all the possible names that include
the specified characters. @ABC@ specifies all names that include ABC
anywhere in the name.
# Specifies one numeric character. A###@ specifies all names that begin with
A followed by any three digits, followed by any combination of 0 to 251
alphanumeric (or underbar) characters.
? Specifies one alphanumeric character. A?# specifies all three-character
names that begin with A, followed by an alphanumeric, followed by a digit.
[ ] Specifies a set or range of characters. The set may appear anywhere in the
name. This range specification is not case sensitive and, therefore, [A-K]
is the same as [a-k]. If you specify a null set such as [k-a], MPE/iX
reports an error.
@[abc]@# = All names containing A, B,orC and ending in a single digit.
[a-k]@ = All names that begin with any one of the letters A through
K.
[n-a] = Is not valid and is flagged as an error.
Use
This command is available in a session, job, program, or in BREAK. Pressing
Break has no
effect on this command.
Examples
To delete two specific variables, enter:
DELETEVAR
firstvariable, secondvariable
To delete all variables beginning with a single alphabetic character and ending with the
characters axval, enter: