Previous Page | Next Page

Functions and CALL Routines under z/OS

CALL SLEEP Routine: z/OS



Suspends the execution of a program that invokes this call routine for a specified period of time.
Category: Special
z/OS specifics: host call
See: CALL SLEEP Routine in SAS Language Reference: Dictionary

Syntax
Details

Syntax

CALL SLEEP(time);

time

specifies the amount of time, in milliseconds (1/1,000 of a second), that you want to suspend execution of a DATA step and the SAS task that is running that DATA step.


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 tasks, each task can execute CALL SLEEP independently without affecting the other tasks.

Note:   

  [cautionend]

Previous Page | Next Page | Top of Page