A Typical Program

Your programs must include at least one procedure (PROC step), which in turn contains a number of statements related to the procedure. The programs can also include ODS statements, ODS GRAPHICS statements, and Base SAS statements. In addition, the programs can specify an annotation data set or an attribute map data set.
The sample program below identifies the basic elements of a typical program.
Annotated sample program
Here is the output for the sample program.
output for the sample program
The following sections describe each element of the program in more detail and explain how the elements relate to one another.