Date: Thu, 17 Oct 2002 10:19:14 +0200
Reply-To: alte@uni-greifswald.de
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Dietrich Alte <alte@UNI-GREIFSWALD.DE>
Organization: Ernst-Moritz-Arndt-Universität Greifswald
Subject: Re: X, SYSTEM and CALL SYSTEM compared
Content-Type: text/plain; charset="us-ascii"
Yes,
that gives some clarification, thanks to Dennis and Ian.
Although I still wonder, what the difference of SYSTEM and CALL SYSTEM
is.
diskin.dennis@kendle.com wrote:
>
> Dietrich,
>
> Basically, X and call system do the same thing, but from different places.
>
> X is a global command which can be placed anywhere and executes at that
> point. The argument must be a constant literal or possibly a preprocessir
> (macro) expression.
>
> CALL EXECUTE is a datastep function which executes at run time depending
> on the logic in the datastep. The argument mmay be built using
> combinations of constants, dataset variables and expressions as with any
> other datastep expression.
>
> HTH,
> Dennis Diskin
>
> From: Dietrich Alte <alte@UNI-GREIFSWALD.DE>@LISTSERV.UGA.EDU> on
> 10/16/2002 01:31 PM
>
> Please respond to alte@uni-greifswald.de
>
> Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
>
> To: SAS-L@LISTSERV.UGA.EDU
> cc:
>
> Subject: X, SYSTEM and CALL SYSTEM compared
>
> Dear folks,
>
> I have been stumbling over these commands.
> Can anybody please supply a short note about (dis-)advantages of
> either choice, or typical cases of use for each? What is their
> difference?
>
> Thanks in advance
>
> --
> -------------------------------------------------------------
> Dietrich Alte (Statistician, Dipl.-Stat.)
> - SHIP // Project Management -
> University of Greifswald - Medical Faculty
> Institute of Epidemiology and Social Medicine
> Walther-Rathenau-Str. 48, D-17487 Greifswald, Germany
> Phone +49(0)3834-867713, fax ++49(0)3834-866684
> Email alte@uni-greifswald.de
> Institute http://www.medizin.uni-greifswald.de/epidem/
> -------------------------------------------------------------
--
-------------------------------------------------------------
Dietrich Alte (Statistician, Dipl.-Stat.)
- SHIP // Project Management -
University of Greifswald - Medical Faculty
Institute of Epidemiology and Social Medicine
Walther-Rathenau-Str. 48, D-17487 Greifswald, Germany
Phone +49(0)3834-867713, fax ++49(0)3834-866684
Email alte@uni-greifswald.de
Institute http://www.medizin.uni-greifswald.de/epidem/
-------------------------------------------------------------
|