SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
NR13
Fluorite | Level 6

Hi all,

 

I'm having trouble creating a cover page using ods rtf, that has more than one image. I'm looking for something like this:

Capture.JPG

 

Is this possible?

TIA!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

Hi:

  Here's an example that I've used before in the Forums as an example of this:

The code to make the work.cover data:

data cover;
  length tline $50;
  infile datalines dlm=',' dsd;
  input lnum tline $;
return;
datalines;
1,"k"
2,"text"
3,"s"
4,"More Text"
;
run;
 

I just use "k" and "s" as placeholders in the column, so I avoid any missing values messages. I'm going to use a foreground color of white to make the k and the s disappear in the cell.

 

The cover page:

cover_with_report.png

 

Here's the PROC REPORT code that generated the cover page:

cover_code.png

 

Or, you could switch to using the Report Writing Interface with PDF.

 

Hope this helps,

 

Cynthia

View solution in original post

2 REPLIES 2
Cynthia_sas
SAS Super FREQ

Hi:

  Here's an example that I've used before in the Forums as an example of this:

The code to make the work.cover data:

data cover;
  length tline $50;
  infile datalines dlm=',' dsd;
  input lnum tline $;
return;
datalines;
1,"k"
2,"text"
3,"s"
4,"More Text"
;
run;
 

I just use "k" and "s" as placeholders in the column, so I avoid any missing values messages. I'm going to use a foreground color of white to make the k and the s disappear in the cell.

 

The cover page:

cover_with_report.png

 

Here's the PROC REPORT code that generated the cover page:

cover_code.png

 

Or, you could switch to using the Report Writing Interface with PDF.

 

Hope this helps,

 

Cynthia

NR13
Fluorite | Level 6

Cynthia, you are the best!! Thank you so much!

sas-innovate-wordmark-2025-midnight.png

Register Today!

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.


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
  • 2 replies
  • 828 views
  • 0 likes
  • 2 in conversation