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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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