You can also use CALL EXECUTE inside a compute block in PROC REPORT. It can be used to write conditional code to be run after the PROC REPORT, but my most common use is to write debugging statements to the SAS log.