BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I want to put a space between the proc report and the title statement that contains a JPG. I'm not having any luck. Is there a better way to do it? Also is there a better way to also put spaces inbetween the twp proc reports? Code is below....

options nodate;
ods noptitle;
ods pdf startpage=never;
ods pdf file='c:\PC_SAS\Test Page 3 1.29.10.pdf' style=CustPge notoc;
title '^S={just=center preimage="C:\PC_SAS\ Logo For Top Of Report.JPG"}';

ods pdf text= '^S={just=center font=("Times Roman",13PT,Bold )}Who is taking money out of your pocket? ^n Competitive Retail Store Spending(Top 5 locations) ';

proc report data=projects.comp_ret_store_spend_top_5 nowd;
where dealer_number='0018';
/*title1 "Who's taking money out of your pocket? ^n Competitive Retail Store Spending(Top 5 locations)";*/
column description cnt amt;
define description/ display format=$80.;
define amt/ display format=dollar6.;
label description = "Competitor Name"
Cnt = "Transactions"
AMT = "Amount" ;
run;

ods pdf text=' ';
ods pdf text=' ';
ods pdf text=' ';
ods pdf text=' ';
ods pdf text=' ';
ods pdf text=' ';
ods pdf text=' ';
ods pdf text=' ';
ods pdf text=' ';
ods pdf text='^S={just=center font=("Times Roman",13PT,Bold )}Where are your top customers using their Cards? ^n (Top 5 other categories) ';
proc report data=projects.top_5_other_cat nowd;
where dlr_no='0018';
column sic_class cnt amt;
define sic_class/ display format=$80.;
define amt/ display format=dollar10.;
label sic_class = "Category"
Cnt = "Transactions"
AMT = "Amount" ;
run;

ods pdf close;
1 REPLY 1
deleted_user
Not applicable
Wrong forum. I'll post to the reporting one Sorry!

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 789 views
  • 0 likes
  • 1 in conversation