The %LIST statement
can be used anywhere in a SAS job except between a DATALINES or DATALINES4
statement and the matching semicolon (;) or semicolons (;;;;). This
statement is useful mainly in interactive line mode sessions to display
SAS program code on the monitor. It is also useful to determine lines
to include when you use the %INCLUDE statement.