Date: Sun, 20 Aug 2006 15:51:55 -0700
Reply-To: Raj <ramesh.chakri@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Raj <ramesh.chakri@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Function and CALL routines.
In-Reply-To: <Ml1Gg.9470$%j7.6558@newssvr29.news.prodigy.net>
Content-Type: text/plain; charset="iso-8859-1"
So can it be assumed that CALL Routines are functions that do not
return any values!!?
kenneth_m_lin@sbcglobal.net 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
> dataset.
>
> For example,
>
> x = sum(a, b, c)
>
> CALL SYMPUT creates a macro variable that exist outside of that dataset.
>
> "Raj" <ramesh.chakri@gmail.com> wrote in message
> news:1156092868.717133.313440@b28g2000cwb.googlegroups.com...
> > 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,
> >
|