Command comments

You can enter comments within CL programs to describe the expected behavior of the code.

Comments can be inserted either inside or outside a command's character string wherever a blank is permitted. However, because a continuation character must be the last non-blank character of a line (or record), comments may not follow a continuation character on the same line.

For readability, it is recommended that each comment be specified on a separate line preceding or following the command it describes, as shown here:

MOVOBJ   OBJA  TOLIB(LIBY)
        /* Object OBJA is moved to library LIBY. */
DLTLIB  LIBX
        /* Library LIBX is deleted. */

Comments can include any of the 256 EBCDIC characters. However, the character combination */ should not appear within a comment because these characters end the comment. To begin a comment, the characters /* must be placed in the first position of the command, be preceded by a blank, or be followed by either a blank or an asterisk.