Creating datasets from each variable in a SAS dataset

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • In real world, no one will create something like this. This video is all about understanding a problem and solving step by step. This video also discuss how to avoid hard coding and issues with hard coding. SAS Macro Programming is all about generating text and can make things supremely automated and can make many things super easy and can help avoid hard coding.
    Code in this video is available at github.com/kir....
    creating macro variables in SQL.
    • SAS Macro Series Part ...
    Explanation of double ampersand logic (in below link between 3:34 to 6:32 minutes)
    • Designing a advanced S...

КОМЕНТАРІ • 3

  • @rogerward8047
    @rogerward8047 11 місяців тому

    I love this one! I've tended to avoid using into with proc SQL, but I'll give it a whirl now. Thanks a million!

  • @7979sunny
    @7979sunny 7 місяців тому

    Hi Sir..Thanks for posting videos.
    I am learning macros and I have a doubt regarding %global statement. Could you plz clarify.
    %macro win;
    %global name country;
    %let name=Sunny;
    %let country=India;
    %MEND Win;
    But I am unable to resolve the macro variables.
    Pls help me on this and Thanks in Advance!

    • @kiranvenna
      @kiranvenna  7 місяців тому

      to resolve macro variable you need to use %put &name &country; %global makes macro variables accessible to the whole sas session other wise they are avaiable only for that particular macro. Please checkout my video on scope of SAS macro variables to understand more about %global. ua-cam.com/video/qVfu_hvhXaA/v-deo.html&pp=ygUPc2FzIG1hY3JvIHNjb3Bl