BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jaliu
Quartz | Level 8
title 1 ' hello world';
title 5 ' hello world';
title 6 ' hello world';

footnote 1 'end';
footnote 2 ' end';
data test;
set '/home/u49936438/Cert/input/input04.sas7bdat';
run;

proc print data= test (drop=var1);

sum var2 var4;
var var2 var4;
run;

only the last title and last footnote appears. moving statements below data step doesn't fix the problem.

 

warnings say: 

WARNING: The TITLE statement is ambiguous due to invalid options or unquoted text.
 
1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2
Reeza
Super User

No space is required between the TITLE and number in the statement. The first example in the documentation for the TITLE statement shows how TITLE2 can be used.

 

title1 ' hello world 1';
title5 ' hello world 5';
title6 ' hello world 6';

footnote1 'end 1';
footnote2 ' end 2';
data test;
set sashelp.class;
run;

proc print data= test ;
run;

@jaliu wrote:
title 1 ' hello world';
title 5 ' hello world';
title 6 ' hello world';

footnote 1 'end';
footnote 2 ' end';
data test;
set '/home/u49936438/Cert/input/input04.sas7bdat';
run;

proc print data= test (drop=var1);

sum var2 var4;
var var2 var4;
run;

only the last title and last footnote appears. moving statements below data step doesn't fix the problem.

 

warnings say: 

WARNING: The TITLE statement is ambiguous due to invalid options or unquoted text.
 

 

jaliu
Quartz | Level 8

Ah, thanks.

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!

LIBNAME 101

Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1150 views
  • 0 likes
  • 2 in conversation