DATA Step, Macro, Functions and more

macros

Reply
Contributor
Posts: 50

macros

Hi,

Identify words in a list supplied as macro parameter.

Start with the first word and continue as long as more words are found.

if no further word is found,display a message .*/

what should be the code ?

Super Contributor
Posts: 266

Re: macros

[ Edited ]

It seems you are trying to solve some homework on this community

 

Reeza, your views ?

Super User
Posts: 19,873

Re: macros

@RahulG It's perfectly allowed. It's considerate to take the time to ask a decent question however rather than just copy and paste a badly worded question. There's also the question of actually learning something. If an effort is shown to answer the question, ie here's what I've tried and what's not working that's even better. Most of the time someone will answer anyways. 

 

After a few questions like this I won't however, but that's my personal choice. I don't mind helping people but there's a limit. 

 

This is all my opinion of course, SAS manages the forum. 

Super Contributor
Posts: 345

Betreff: macros

[ Edited ]

Some keywords to check:

  • %sysfunc
  • %scan
  • countw
  • %do
  • %if
  • %let
  • %put
  • %macro
  • %mend

 

 

 

Ask a Question
Discussion stats
  • 3 replies
  • 230 views
  • 0 likes
  • 4 in conversation