SAS Programs

A SAS program is a sequence of statements that execute one step at a time, statement by statement, independently of one another. Whereas other programming languages compile an entire program and then completely execute it, SAS reads each line of information separately. To better imagine how a SAS program works, think about your favorite restaurant. You enter the restaurant, take a seat, and then when the waiter or waitress arrives, you say what you would like to eat. When you state your order, think of the statements like a program:
I would like to place my order for my meal. I would like a glass of water. I would like to order the chicken sandwich and chips. I would also like a napkin.
Note that you first say what you want ...

Get A Recipe for Success Using SAS University Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.