Write the programming statements to the SAS log. The SOURCE system option accomplishes this.
options pagesize=60 linesize=80 nodate pageno=1 source;