On Mon, 17 May 2010 17:57:55 +0300, Matan Cohen wrote:

>i think the best way to accomplish that is to perfom the check of 30 minute
>in the rexx  (in case you don't want it to go to sleep)
>if your rexx performing somthing in this 30 minutes you should add a check
>in it of the time like this:
>
> RC = TIME(R)
> SECS = 1800   /* 1800 second you want them to pass */
> DO FOREVER
>   N = TIME(E)    /*get the time in second which was pass */
>   IF N >= SECS THEN LEAVE
> END
>
Only if you aren't charged back for CPU cycles.

>On Mon, May 17, 2010 at 7:38 AM, Bruce Hewson wrote:
>>
>> that is correct, but in my defence I quote my original post:-
>>
>> "Where SLEEP and QUERYENQ are local programs."
>>
Apologies; I shot from the hip.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to