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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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