Hi:
As Scott said, your comments are syntactically correct. However, if you ever want to "comment out" an entire step or block of code, you will not be able to put /* and */ around your PROC CORR step because you are already using that syntax.
You might want to consider adding a bit of white space and/or not mixing commas inside your complete statements (put the comment outside the semi-colon). The first example could have the entire step commented out because you use *; type of comments. The second example is a variation on your original code,
Either of these models seems easier to read to me. Indenting code and using white space seem to increase readability.
cynthia
[pre]
Example 1
*******************************************************************************;
* initialise and send results to the RTF file Corr.rtf until the file is closed;
* create a temporary dataset Corr;
* determine the correlation between each variable;
* close the RTF file Corr;
*******************************************************************************;
ods rtf file='Corr.rtf';
proc corr data = review1 outest = Corr;
VAR Z X Y;
RUN;
ods rtf close;
Example 2
ods rtf file='Corr.rtf'; /*initialise and send results to the RTF file Corr.rtf until the file is closed*/
proc corr data = review1
outest = Corr; /*create a temporary dataset Corr */
VAR Z X Y; /*determine the correlation between each variable*/
RUN;
ods rtf close; /* close the RTF file Corr*/
[/pre]