The UPPER instruction translates the contents of one or more variables to uppercase. The variables are translated in sequence from left to right.
In OPS/REXX, the UPPER instruction uses this syntax:
UPPER variable {variable...} {;}
The variable is a symbol that is separated from any other variables by one or more blanks or comments. Specify only simple symbols and compound symbols.
a1='Hello'; b1='there' Upper a1 b1 say a1 b1 /* Displays "HELLO THERE" */
If a constant symbol or stem is encountered, an error messaged is issued.
Notes:
For a definition of these classes of variables, see the AOF Rules User Guide.
Copyright © 2014 CA.
All rights reserved.
|
|