BookmarkSubscribeRSS Feed
arpit
Calcite | Level 5
Kindly explain the difference between sas function and macro
3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12
For that, you can read the manual

http://support.sas.com/documentation/onlinedoc/base/index.html#base92
look at the
SAS 9.2 Language Reference: Concepts, Second Edition
and follow the index for macros and functions.
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Suggest some SAS support website technical references and also SAS-hosted documentation, also available on the SAS support site at http://support.sas.com/ on this topic / post.

Typically a FUNCTION provides a defined purpose/use to perform some type of task, calculation, data-manipulation, or otherwise utility execution in the SAS environment. And the MACRO FACILITY is a language used within the SAS environment, where SAS programmers can exploit coding techniques to perform executed-once or executed-repetitively task processes to address a particular programming activity or to generate some result with SAS.

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search arguments, this topic / post:

function introduction site:sas.com

macro introduction site:sas.com
arpit
Calcite | Level 5
Dear Sbb,

Thanks a lot for your information and explanation about this topic.

Regards,
Bina

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 3785 views
  • 0 likes
  • 3 in conversation