A null clause consists of only blanks or comments or both. The
language processor ignores null clauses, but they make
a program easier
to read.
- Comments
- A comment begins with /* and
ends with */. Comments can be on one or more
lines or on part of a line. You can put information in a comment that
might not be obvious to a person reading the REXX instructions. Comments
at the beginning of a program can describe the overall purpose of
the program and perhaps list special considerations. A comment next
to an individual instruction can clarify its purpose.
Note: REXX/CICS
does not require that a REXX program begin with a comment. However,
for portability reasons, you may want to start each REXX program with
a comment that includes the word REXX.
Not every language processor requires this program
identifier. However, to run the same exec on MVS TSO and CICS, you
should include the /* REXX */ program identifier to satisfy
TSO requirements.
- Blank lines
- Blank lines separate groups of instructions and aid readability.
The more readable a program is, the easier it is to understand and maintain.