Hello everyone and anyone! When you run the below code the display PDF number has space/separation from the title. How do I re-format to the number of characters.
Current view: 'Total Number of Records: 2,020'
Want view: 'Total Number of Records: 2,020'
SAS Code:
ods pdf file="file path to save/Total Count.pdf";
options linesize=max;
proc sql noprint;
select
count(*) as Tot_Cnt format comma10.
into
:Obs
from SASHELP.aacomp
;
quit;
%put NOTE: &Obs;
ods pdf startpage=no;
ods proclabel='Title';
title bold height=22pt color=purple "Total Number of Records: &Obs.";
proc report data=SASHELP.aacomp;
run;
title;
ods pdf close;
Thank you for your support!