z/OS TSO/E User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Including Comments

z/OS TSO/E User's Guide
SA32-0971-00

You can include comments in a TSO/E command anywhere a blank might appear. Comments are most useful in CLISTs that contain TSO/E commands. To include a comment, put it within delimiters /* and */. To continue a comment, use a line continuation character (+ or -) at the end of the line.

Example
A short comment at the end of a line might look like the following:
LISTDS (num1.data,num2.data) /* my data sets */
A longer comment might need to be split as follows:
LISTDS (num1.data,num2.data) /* this is a list of my -
                         active data sets */

You do not need to end a comment with */ if the comment is the last thing on the line. Ending a comment with */ is a convention, not a requirement in this case.

Note: To continue a line that contains a comment, use a continuation character after the comment:
ALLOCATE DATASET(outds.text) /* data set name */ +
         NEW VOLUME(tsomar2)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014