Date: Mon, 21 Aug 2006 08:03:07 +0800
Reply-To: Scott Bass <sas_l_739.at.yahoo.dot.com.dot.au@PESTO.CC.UGA.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Scott Bass <sas_l_739.at.yahoo.dot.com.dot.au@PESTO.CC.UGA.EDU>
Subject: Re: Function and CALL routines.
This may help a bit:
Now don't quote me on this, I could be wrong, etc, but I believe that, at a
low level, call routines are written differently than functions, have
different hooks into the rest of the SAS System, and that "CALL" is a
trigger to the compiler to do the right thing. It's just the way SAS is
Yes, it may be confusing, but that's why you'll make the big bucks once you
learn it ;-)
"Raj" <email@example.com> wrote in message
> So can it be assumed that CALL Routines are functions that do not
> return any values!!?
> firstname.lastname@example.org wrote:
>> Note that CALL SYMPUT doesn't return a value to the DATA STEP. Functions
>> like SUM and TRIM results in creation or modification of a field in that
>> For example,
>> x = sum(a, b, c)
>> CALL SYMPUT creates a macro variable that exist outside of that dataset.
>> "Raj" <email@example.com> wrote in message
>> > Why some are functions and some are CALL routines in SAS.
>> > CALL SYMPUT(.., ..);
>> > Why can not it be just called SYMPUT(..., ..) with out preseding by
>> > CALL like SUM TRIM functions?
>> > How to distinguish between CALLs and SAS Functions .. Man it is
>> > confusing!! Any intellectual insight is ppreciated.
>> > Thanks gang,