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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 309 views
  • 0 likes
  • 2 in conversation