BookmarkSubscribeRSS Feed
HannaZhang
Obsidian | Level 7

Hi,all,

I have a dataset(PC3_1) without observation,I want to produce a listing just with tiitle "数据分析",this listing without any contents,Can this be achieved? if can,then how to do this .

fllowing is my trying about it.

thanks

data PC3_1;
    set rawdata.PC3;
	 Auditor="";
     Auditdt="";
     Ques_record="";
     Proce_mode="";
     label Auditor="审核人";
     label Auditdt="审核日期";
     label Ques_record="问题记录";
     label Proce_mode="处理方式";
run;

ODS LISTING CLOSE;
ods rtf file="F:\offline listing\Documents\listing\LIS55_10.rtf" ;
proc report data=PC3_1 nowd split='$';
		title"数据分析";

quit;

ods rtf close;
ODS LISTING ;
title;
footnote;
options nodate;
1 REPLY 1
PaigeMiller
Diamond | Level 26
ods rtf file="myrtf.rtf";
data _null_;
file print;
put "Whatever Words You Want";
run;
ods rtf close;
--
Paige Miller

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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