LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 20 Apr 2009 10:38:46 -0400
Reply-To:   "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject:   Re: do while
In-Reply-To:   <66935f0f-7438-4357-8b79-ce8db625b60c@w9g2000yqa.googlegroups.com>
Content-Type:   text/plain; charset=us-ascii

Do which? loop, until, or while? A review of data step and macro algorithms.

http://www2.sas.com/proceedings/forum2007/067-2007.pdf

> -----Original Message----- > From: owner-sas-l@listserv.uga.edu > [mailto:owner-sas-l@listserv.uga.edu] On Behalf Of hd > Sent: Friday, April 17, 2009 3:26 PM > To: sas-l@uga.edu > Subject: do while > > Hello, > > I am having trouble in the syntax for do while in macros > > is this correct > > > %do %while ((&all1and2 = 1) or (&temp>=6)); > > when i just omit the second condition it works. > > %do %while (&all1and2 = 1) > > Many Thanks > >


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