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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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