08-24-2013 08:55 AM
Hi all, I wanted to write the string 'the input value is xxx' in the SAS log, using the following macro. My question is why the following does not work and how can I fix it.
put 'the input value is &num';
/* alternatively I can use an addtional variable to get the desired result*/
put 'the input value is ' a;
/*but why the first attempt using '&num ' does not work?*/
Need further help from the community? Please ask a new question.