Suspends execution of a SAS DATA step for a specified period of time.
Category: | Special |
Windows specifics: | all |
See: | SLEEP Function in SAS Functions and CALL Routines: Reference |
specifies the number of seconds that you want to suspend execution of a DATA step. The n argument is a numeric constant that must be greater than or equal to 0. Negative or missing values for n are invalid.
specifies the unit of seconds, as a multiple of 10, which is applied to n. For example, 1 corresponds to a second, and .001 to a millisecond. The default value is 1.
data _null_; /* argument to sleep must be expressed in seconds */ slept= sleep((60*60*12)+(60*15)); run; data monthly; /*... more data lines */ run;