Functions and CALL Routines under UNIX |
Category: | Special |
UNIX specifics: | All |
See: | CALL SLEEP Routine in SAS Language Reference: Dictionary |
Syntax | |
Details |
Syntax |
CALL SLEEP(n<,unit>); |
is a numeric constant that specifies the number of units of time for which you want to suspend execution of a program.
specifies the unit of time, as a power of 10, which is applied to n. For example, 1 corresponds to a second, and .001 corresponds to a millisecond. The default is .001.
Details |
CALL SLEEP puts the DATA step in which it is invoked into a nonactive 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.
Note: Extended sleep periods can trigger automatic host session termination based on timeout values set at your site. Contact your host system administrator to determine the timeout values used at your site.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.