Step by step approach to build a SAS macro - Basic

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 9

  • @ishwormaharjan6486
    @ishwormaharjan6486 5 років тому +1

    Thank you so much for excellent presentation with simple examples.

  • @princysingla5084
    @princysingla5084 5 років тому

    Very Nice and short video related to macros Thanks a lot Kiran

  • @mayankguptapro
    @mayankguptapro 5 років тому

    thanku sir

  • @pardhasaradhisivaraju1234
    @pardhasaradhisivaraju1234 4 роки тому

    Can you please tell how to take only last record in a dataset using obs

    • @kiranvenna
      @kiranvenna  4 роки тому

      use end=last in dataset option then do if last

  • @sudharsanj599
    @sudharsanj599 5 років тому

    I'm getting this error can yoy please resolve it
    9 libname A "C:\Users\Dass6\Desktop\A" ;
    10 %macro simplefunationality (dsn=);
    11 proc print data=&dsn ;
    12 run;
    13 %mend;
    14 options symbolgen mprint;
    15 %simplefuntionality (dsn=A.Ae)
    -
    180
    WARNING: Apparent invocation of macro SIMPLEFUNTIONALITY not resolved.
    ERROR 180-322: Statement is not valid or it is used out of proper order.

    • @kiranvenna
      @kiranvenna  5 років тому

      your defined macro name is simplefunationality but your executing %simplefuntionality(this macro is not defined any where). Please check macro names they are not same and hence the error.

    • @sudharsanj599
      @sudharsanj599 5 років тому +1

      @@kiranvenna , Yeah Thanks , now im getting the result.