|
At 16:31 29/11/01 +0000, Karl Ruertenberg wrote (in part):
>i am puzzled at the fact that it seems within a do - end block, PUT
>statement (or maybe whatever statements) after a DELETE statement will not
>be executed. just wondering whether there is any rules in SAS concerning
>the position of DELETE statement within a do - end block.
>... an example:
Karl, I don't thing that the DO...END block is relevant. As far as I am
aware, immediately a DELETE statement is executed (no matter WHERE it
appears in code), execution moves to the next iteration of the DATA step
('via' an incrementing of the iteration counter _n_). Hence, any code
(whether PUT or anything else) which appears after (in terms of execution
sequence) an executed DELETE statement will NOT be executed, regardless of
whether that DELETE statement is 'in the open' or within a DO..END or other
construct.
That's how I see it, anyway.
Kind Regards
John
----------------------------------------------------------------
Dr John Whittington, Voice: +44 (0) 1296 730225
Mediscience Services Fax: +44 (0) 1296 738893
Twyford Manor, Twyford, E-mail: John.W@mediscience.co.uk
Buckingham MK18 4EL, UK mediscience@compuserve.com
----------------------------------------------------------------
|