Hello SAS Community.
I am trying to add column heading descriptions in my PROC REPORT. I would use FOOTNOTE statement but I have more than 10 columns to describe so I would exceed the number of footnotes SAS allows. I am looking into the LINE statement. I am having trouble implementing the LINE statement and I am looking for examples to study. I would like to see examples PROC REPORT implementing the LINE statement at the bottom of each page or at the end of the document. All of my column data is display data so there are no compute variables.
The LINE statements in the attached SAS code do not start printing in the PDF output until page 7 of the output. I would include the output but I can't release the data to the public.
Thanks,
Stephen Dybas
As far as the "endnotes" goes if you have too many things to fit comfortable into footnotes then perhaps put the information into a data set and use either proc print or report with that data set.
Or use ESCAPECHAR to add additional lines to the footnotes
ods escapechar='^';
proc print data=sashelp.class;
footnote1 "This is a foot note ^{newline} that breaks across ^{newline} multiple lines";
footnote2 "and this is the text of footnote2";
run;
footnote;
As far as the "endnotes" goes if you have too many things to fit comfortable into footnotes then perhaps put the information into a data set and use either proc print or report with that data set.
Or use ESCAPECHAR to add additional lines to the footnotes
ods escapechar='^';
proc print data=sashelp.class;
footnote1 "This is a foot note ^{newline} that breaks across ^{newline} multiple lines";
footnote2 "and this is the text of footnote2";
run;
footnote;
Find below a sample which shows some additional possibilities to add text to the report
ods escapechar="~";
title "This is the title";
footnote1 "FOOTNOTE1 this is the footnote";
footnote2 "FOOTNOTE2 This text~{NEWLINE}is split over two lines";
proc report data=sashelp.cars;
column origin make model horsepower;
define origin / order ;
define make / order;
define model / display;
define horsepower / display;
break after make / page;
compute after _page_/ style={just=left};
line "this is the first LINE, after";
line "this is the second LINE, after";
endcomp;
compute before _page_/ style={just=left};
line "this is the first LINE, before";
line "this is the second LINE, before";
endcomp;
run;
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.