String Expressions
String expressions result in the creation of a character string. String expressions include:
- String constants. If a string constant contains any spaces or symbols, it must be delimited by single or double quotes. String constants can also be ASCII, EBCDIC, or hexadecimal.
- Two or more expressions combined with the concatenation operator "|". For example:
%%x = %%y | %%z | string
- A string function. For example:
%%x = SUBSTR(%%y, 2, 10)