Without seeing the context of how you are using the variable, this should work in a job stream
setvar no_of_pause15 nnnnn
SETVAR X 0
WHILE X = 0
run <prog>
pause !no_of_pause15
ENDWHILE
This sets up an infinite while loop which pauses nnnnn seconds between runs, so if you want one hour pause set nnnn=3600.
(Ps, pause is measured in seconds)
>>> Richard Blake <[log in to unmask]> 20/08/99 >>>
I'm attempting to use the following variable and it doesn't seem to
work:
:SETVAR NO_OF_PAUSE15 240
The idea is that this causes the program to be executed every 60
minutes. The 240 is for 240 15 second pauses. 240x15=3600 3600 seconds
=60 minutes
It doesn't seem to work. Any ideas?
Thanks,
Richard