BookmarkSubscribeRSS Feed
a_tixe
Calcite | Level 5

Hi,

I have an issue with the title and footnote statement.

I have this code:

options nodate nonumber orientation=landscape;

ODS ESCAPECHAR="^";

TITLE;

FOOTNOTE;

ODS PDF FILE="&pathName." style=UNI startpage = yes;

    TITLE1  '^S={preimage="&PreImage.?width=515.6pt&height=55pt"}';

    TITLE2 ;

    TITLE3 "&reportTitle. &entity.";

    TITLE4 ;

    TITLE5 "&valdate.";

    proc report data=lib_tmp.&tableName. nowd style(report)={outputwidth=100%};

        column     &orderedvars.;

       

        COMPUTE %sysfunc(scan("&orderedvars.",1," ")); /* FIRST LINE */

             if mod(monotonic(),2)=0 then call define(_row_,'style','style=[background=#DDDDDD]');

                             else call define(_row_,'style','style=[background=white]');

        ENDCOMP;

    run;

ods _all_ close;


and produce as result an pdf report with an image in the position "title1", but if I add the follow code:

FOOTNOTE1 "Page ^{thispage} of ^{lastpage}";

in the pdf report result there isn't the image in the TITLE1 and there is the correct  FOOTNOTE1 like "Page 1 of 26".

Do you have an idea for solve this issue?

1 REPLY 1

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1216 views
  • 0 likes
  • 2 in conversation