BookmarkSubscribeRSS Feed
robertrao
Quartz | Level 8

Hi,

This is the usage of a SET statement inside a macro..

i do not understand the actual logic how this works ,,,could someone explain to me with a example???

each time when we call the macro the ds changes what will happen to the OUT can you run a sample of the code????

with the first run as shown dataset one contains the COMBO

How will we deal with it in the next run??????

My main concern:why are we putting the &out in the SET?How is it useful while calling???

Thanks

data &out;

  set &out &ds.itbx &ds.extbx ;

  by mrn1;

run;

%macro( ds=abc out=one  );

%macro(ds=def, out=??);


1 REPLY 1
robertrao
Quartz | Level 8

Hi,

Please help me understand

Thanks

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1111 views
  • 0 likes
  • 1 in conversation