Chapter Contents |
Previous |
Next |
CALL SLEEP |
CMS specifics: | host call |
Syntax | |
Details |
Syntax |
CALL SLEEP(time); |
Details |
CALL SLEEP puts the DATA step in which it is invoked into a non-active wait state, using no CPU time and performing no input or output. If you are running multiple SAS processes, each process can execute CALL SLEEP independently without affecting the other processes.
In this example, the DATA step invokes CALL REPORT every hour:
data _null_; while (1); call report(a,b,c,d); call sleep(3600000); end; run;
Note: Extended sleep periods can trigger
automatic host session termination based on timeout values set at your site.
Contact your host system administrator as necessary to determine the timeout
values used at your site.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.