|
|
Re: Stop log output in the middle of a %DO loop
On Mon, 22 Sep 2003 08:46:43 -0400, Yu Guo <Yu.Guo@VERISPAN.COM> wrote:
>Hello,
>I want to stop SAS from writing any log in a very long loop after the loop
>count reach 10, so that I could check if it runs well, and don't have to
>have very big log file which will also slow down the SAS process. My code
>is somehow like:
>
>%DO i=1 %TO &_tot;
>
> %IF &i =10 %THEN %DO;
> %PUT WARNNING: The log output has been intendedly
>stopped now;
> options nolog; * NOT WORK :( ;
> %END;
> [other code]
>%END;
>
>I tried *options nolog*, however it doesn't work here. Any suggestions?
>
>Thanks a lot!
>
>Raymond
Hey Raymond,
try it with:
proc printto; log=dummy; run;
but don't forget to reset it at end with
proc printto; run;
You could also write it to a file, which give you the chance to read it if
you want (e.g. to find errors or warnings.
|
|
0
|
|
|
|
Reply
|
ghellrieg (841)
|
9/22/2003 2:04:11 PM |
|
|
0 Replies
36 Views
(page loaded in 0.039 seconds)
Similiar Articles: Slow string search/fast binary search - comp.lang.asm.x86 ...Anyway, it seems the best I can do is to keep the jecxz while changing the loop - so I ... However, you're wrong about "a standalone ... FLT_Fast & time1 <= user_entry_STOP_FLT ... Suspending HDR temporarily? - comp.databases.informix... production. The only downside for what I want to do is that I would need to re ... log entries as long as they don't do a whole loop in a ... to do here, is use STOP ... Getting a hConsoleOutput handle - comp.os.ms-windows.programmer ...The log output is buffered, and can't be read until the ... Say, make yourself stop completely after each sentence. ... You're boring and a nuisance, i.e. best ignored. find files between date x and date y - comp.unix.solaris ...... to work together and produce some meaningful output. ... Thanks! > A. > Touch 2 files, start_date and stop_date ... back date - comp.unix.solaris Hi, Stuck in the middle: as ... MC: 4th power with no small digits - comp.sys.hp48If you are enjoying the journey, you're on the right ... LOG N + 4. / ALOG CEIL IF DUP 2. MOD THEN 1 ... ANSWER' STO 1.E499 'X' STO @ stop the loop END ... Computing Follow set - comp.compilers... grammar: A -> aB | a B -> bA | b From the production A ... This ends up being an infinite loop when I code it. ... and then repeatedly recalculate them, until they stop ... Filter and inverse filter =/ timedelay? - comp.dsp... he models the filter in a FOR loop to get a 'sample-by-sample' output ... > > You can do this regardless of whether you're in discrete or ... filter is confined to the stop ... MicroVAX 3100-30 - won't boot... - comp.os.vmsMMJ-3 will (confusingly) output ... as a cluster boot server) I think you're right. I've no idea how to do ... > [log in as system, and then:) $ @cluster ... Solairs 8 xntpd client oscillates - comp.protocols.time.ntp ...Some ntpq output: ntpq> peer remote ... Fourth, stop xntpd, delete the drift file and reboot. Do not just restart xntpd. ... this, is to not use the ntp_adjtime loop ... How to write testbench file? - comp.lang.vhdl... failures and stop (at best...some tools don't do ... it could be re-written as previously shown with a loop ... pin(s) that do not drive logic Warning (15610): No output ... Stop log output in the middle of a %DO loop - sas - Mofeel Groupssas, Stop log output in the middle of a %DO loop . comp.soft-sys.sas - The SAS statistics package. The Loop « WordPress CodexCodex tools: Log in ... Stop The Loop (but note the "else:" - see next line ... the original query in a variable, then re-assign it with the other Loop. 7/13/2012 7:40:29 PM
|
|
|
|
|
|
|
|
|