Comments

Image for post
Image for post
SAS Comments

In SAS you can create comments in two ways, the first method is called a block comment. These comments can be any length and contain semicolons. Be sure to avoid placing these type of comments symbols in the first or second columns, because in some operating environments SAS might interpret block comment symbols in columns 1 and 2 as a request to end the SAS session or job.

Example of block comment: Notice the comment in the block comment “Create a temporary data set called MicrosoftStock”

Image for post
Image for post
27 rows from the print statement

The second method is called the comment statement, which begins with an asterisk followed by the comment text and ends with a semicolon.

Example of comment statement: Notice the comment in the comment statement “where stock=’Microsoft’;

Image for post
Image for post
27 rows from the print statement and the where statement commented out

If you are interested in data science and data analytics after reading this article you should check out the website FiveThirtyEight.com they have many interesting articles and statistics on politics, sports, science, health, economics and culture, you can also check out my blog for more information on free tutorials and books on data analytics/ science. Thanks for reading this article, I hope you found it very helpful and enjoyable as I enjoyed writing it! Happy learning and I will see you all in my next article. Please leave many claps on here and share it, thanks for taking the time out of your busy day to read this article !

Check Out the following for content / videos on Computer Science, Algorithm Analysis, Programming and Logic:

YouTube Channel:
randerson112358: https://www.youtube.com/channel/UCaV_0qp2NZd319K4_K8Z5SQ

compsci112358:
https://www.youtube.com/channel/UCbmb5IoBtHZTpYZCDBOC1CA

Website:
http://everythingcomputerscience.com/

Video Tutorials on Recurrence Relation:
https://www.udemy.com/recurrence-relation-made-easy/

Video Tutorial on Algorithm Analysis:
https://www.udemy.com/algorithm-analysis/

Twitter:
https://twitter.com/CsEverything

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store