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:         Thu, 6 May 2010 19:25:13 +0000
Reply-To:     toby dunn <tobydunn@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         toby dunn <tobydunn@HOTMAIL.COM>
Subject:      Re: simple inifinite process loop
Comments: To: hermans1@westat.com
In-Reply-To:  <FE10F31634E7F34B87AA143D596085415507076F@EX-CMS01.westat.com>
Content-Type: text/plain; charset="iso-8859-1"

Nope you get nothing which is what I expected as all the code is pure macro code. Which I haven't seen SAS spit out stats other than when you precompile a macro, about the macro execution times.

Toby Dunn

"Don't bail. The best gold is at the bottom of barrels of crap." Randy Pausch "Be prepared. Luck is where preparation meets opportunity." Randy Pausch

> Date: Thu, 6 May 2010 15:03:04 -0400 > From: HERMANS1@WESTAT.COM > Subject: Re: simple inifinite process loop > To: SAS-L@LISTSERV.UGA.EDU > > Toby: > If you can kill the process, try running this verbose version of the program: > %macro _; %put _ ; %_ %mend; %_ > > That may answer your question. > S > > From: toby dunn [mailto:tobydunn@hotmail.com] > Sent: Thursday, May 06, 2010 2:53 PM > To: Sigurd Hermansen; sas-l@listserv.uga.edu > Subject: RE: simple inifinite process loop > > Sig, > > I ran the code and well does what I thought it would do at least on the Unix box. Th eprobelm is that SAS doesnt report back any stats, which makes me wonder if it is more or less just sitting idle. Im not sure the OP's sever program would pick it up very well, I guess would depend on what the program was looking for on the server. > > Toby Dunn > > "Don't bail. The best gold is at the bottom of barrels of crap." > Randy Pausch > > "Be prepared. Luck is where preparation meets opportunity." > Randy Pausch > > > > > > Date: Thu, 6 May 2010 12:42:01 -0400 > > From: HERMANS1@WESTAT.COM > > Subject: Re: simple inifinite process loop > > To: SAS-L@LISTSERV.UGA.EDU > > > > Paul: > > I'd prefer a more parsimonious and even less comprehensible program: %macro _; %_ %mend; %_ > > > > I'd don't know for sure that it creates an infinite loop (or recursion). Don't have time to test it. > > > > All seriousness again, the SAS Macro facility may have a stack limit that would stop execution of the program. Nonetheless, anyone testing infinite looping of SAS programs should look at Macros. Some time back I found that MVS time limits did not apply to SAS Macros. I had a $40,000 run charge that, on appeal, got cancelled because I had a time limit for run time in the job but MVS ignored it. > > S > > > > -----Original Message----- > > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Paul Dorfman > > Sent: Wednesday, May 05, 2010 11:55 PM > > To: SAS-L@LISTSERV.UGA.EDU > > Subject: Re: simple inifinite process loop > > > > Joe, > > > > 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 <ketty.mobed@ucsf.edu> 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 > > >> > ________________________________ > The New Busy is not the old busy. Search, chat and e-mail from your inbox. Get started.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3> _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1


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