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 (May 2010, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 5 May 2010 23:54:52 -0400
Reply-To:     Paul Dorfman <sashole@BELLSOUTH.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Paul Dorfman <sashole@BELLSOUTH.NET>
Subject:      Re: simple inifinite process loop
Comments: To: Joe Matise <snoopy369@GMAIL.COM>


That is too verbose. A shorter version:

data ; do while (1) ; end ; run ;

Or until(0) can be substituted for while(1). The same thing... For the LOC number, though, nothing can best Toby's-like offering

data ; set sashelp.class point = _n_ ; run ;

except that it will consume quite a bit of I/O resources while "idling".

Kind regards ------------ Paul Dorfman Jax, FL ------------

On Mon, 3 May 2010 11:07:53 -0500, Joe Matise <snoopy369@GMAIL.COM> wrote:

>data _null_; >do while (1=1); >end; >run; > >Four lines, but that's about the minimum. >-Joe > > >On Mon, May 3, 2010 at 10:55 AM, Ketty Mobed <> wrote: > >> Hello, >> I want to generate a generic SAS program for a sample infinite process loop >> to test the timeouts for our new computer environment. Is there a one- or >> two-liner program? >> Thx, Ketty >>

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