Is there a way under TSO/ISPF to get the unix SLEEP command to sleep for less than one second? I tried various methods but no joy. It can be that this implementation of the SLEEP command does not support subsecond invocation?
I think the "normal" sleep is only in an integer number of seconds (which can be expressed as minutes or hours). Some implementations allow the "number of seconds" to be fractional, but probably not OMVS. "man sleep" should say exactly (or implicitly).
These users thanked the author BillyBoyo for the post:
I did the RTFM on the manual as SA23-2280-02 but it was not precise as to whether subseconds were allowed. I see that under certain implementations (e.g. bsh) it is. I will try something else. I am guessing that this could be done in assembler using ECB but my ASM sadly lapsed many years ago!
Reading the Fine Manual, I'd say for sure it has to be integers, only because that is "normal" behaviour, and no hint of doing otherwise. Nothing useful from searching for "micro" or "milli" or anything associated .
NAME sleep -- suspend execution for an interval oftime
SYNOPSIS sleep seconds
DESCRIPTION The sleep command suspends execution for a minimum of seconds.
so I guess that issuing the man sleep under Unix System Services would return the same
cheers enrico When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser, so that I am sure that the information requested can be reached with a very small effort