BookmarkSubscribeRSS Feed
shubham1
Calcite | Level 5

Hello 

 

I have written below statement 

 

%let ardato=01feb2018;

Title1 'data pr' &ardato;

 

below is the warning coming up 

the title statement is ambiguos due to invalid options or unquoted text 

 

how can i suppres the warning 

 

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

The form of the title statement (without formatting) is:

title <text string>;

To resolve macro variables within text, you need to use double quotes = ".  So in your given example:

title1 "data pr &ardato.";

Note the double quotes surrounding all the text.  Also, always put the dot after the macro, you may get away with it in most circumstances, but it is good practice to always put it there.

singhsahab
Lapis Lazuli | Level 10

To resolve macro variable you have ti use double quotation like "&macrovarname."