Notes on REXX
This topic discusses comments, REXX delimiters, case, continuation characters, and the concatenation operator.
For more information on SQL within REXX code, see Quotation marks.
Comments
Every REXX program must begin with a comment that contains the word REXX. REXX comments begin with the characters /* and end with */ as follows:
REXX delimiters
REXX uses the semicolon (;) as a clause delimiter that you can omit if the end of a line implies a delimiter.
Case
Uppercase and lowercase are not significant outside quoted strings.
Continuation characters
To continue a REXX statement, use a trailing comma, as follows:
' AND TIMESTMP = (SELECT MAX(TIMESTMP) ' ,
Concatenation operator
To concatenate strings, use the || concatenation operator. The column headings require two lines. The concatenation operator is at the end of the first line as follows:
' GB % GB DATE STATS';
Related topic