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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 4289 views
  • 0 likes
  • 3 in conversation