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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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