In reply to Rick Wicklin.

I have an error:

60? %put &words;

WARNING: Apparent symbolic reference WORDS not resolved.
&words

How do I make "words" a variable so I can retrieve it by using %put &words;

I tried to retrieve the first word to nth word in a string and assigned it to another variable string.
example: inputs: %let variable1 = I want to go to holidays every day;
outputs: choose first word to 3rd word: %put variable2; "I want to"