/* sleep.cmd - make system sleep for specified # of seconds */
/* syntax: sleep <time>, where <time> is time in seconds */
call RxFuncAdd "SysSleep", "RexxUtil", "SysSleep"
parse arg sleeptime;
sleeptime=strip(sleeptime)
if sleeptime= '' then do
   say "SLEEP.CMD - make system sleep for specified # of seconds"
   say "Usage: sleep <time>"
   say "       where <time> is time in seconds"
   exit
   end
else
call SysSleep sleeptime
exit