LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2003, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 25 Mar 2003 12:34:53 +0100
Reply-To:     "Dr. Olaf Kruse" <olaf.kruse@VST-GMBH.DE>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Dr. Olaf Kruse" <olaf.kruse@VST-GMBH.DE>
Content-Type: text/plain; charset="iso-8859-1"

Hi Myra,

one more idea: Accept the opinion of your boss (remember Don Quichote), but show him, that you are still in command of the SAS-language. E.g. replace long if-then-else-statements with a more elegant select-statement:

select; when <first selection-criteria > do; <SAS- statements> end; [...] when <last selection-criteria > do; <SAS- statements> end; otherwise; do; <SAS- statements> end; end; /* of select */

It doesn't save much code, but it avoids errors by omitting an else-statement in the middle of a long if-then-else-sequence.

Cheers, Olaf


Back to: Top of message | Previous page | Main SAS-L page