MPE/iX Commands Reference Manual (32650-90877)

Chapter 12 483
Command List X
Commands SAVE thru SHUTQ
Operation Notes
Allows a job or session to receive or block TELL messages from other users. WARN messages
from the system operator override quiet mode and are received and displayed.
Examples
To block messages, enter:
SETMSG OFF
To receive messages, enter:
SETMSG ON
Related Information
Commands SET, TELL
Manuals None
SETVAR
Assigns values to MPE/iX variables. (Native Mode)
Syntax
SETVAR
varname
{ <space> , ; }
expression
Parameters
varname
The variable that is to be set to a value.
expression
The expression that is evaluated and assigned to
varname
.
Operation Notes
This command assigns values to MPE/iX variables. Variable names may be any
combination of letters and numbers plus the underbar character, up to a total of 255
characters. Variables must start with a letter or the underbar character.
The
expression
parameter may be an MPE/iX expression, a Boolean, integer, or string
value, or the name of another variable. If
expression
consists of elements and operators
MPE/iX accepts ('abc' + 'cd'or2*5+1), SETVAR will evaluate it. The operators defined in
Table 12-2. on page 483 may be used in
expression
.
Table 12-2. Logical Operators - The SETVAR Command
Logical operators: AND, OR, XOR, NOT
Boolean functions and values: BOUND, TRUE, FALSE, ALPHA, ALPHANUM,
NUMERIC, ODD
Comparison operators: =, <>, <, >, <=, >=
Bit manipulation operators: LSL, LSR, CSR, CSL, BAND, BOR, BXOR, BNOT
Arithmetic operators: MOD, ABS, * , / , + , -, ^ (exponentiation)