Functions and CALL Routines under UNIX |
For a specified period of time, suspends the execution of a program
that invokes this CALL routine.
Category: |
Special
|
UNIX specifics: |
All
|
See: |
CALL SLEEP Routine in
SAS Language Reference: Dictionary
|
-
n
-
is a numeric constant that specifies the
number of units of time for which you want to suspend execution of a program.
-
unit
-
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.
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. ![[cautionend]](../../../../common/61991/HTML/default/images/cautend.gif)
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.