Cecil
19+ years progress programming and still learning.
In web-dis.p there is a wait-for that will timeout after 15+ seconds (if it is set). Has anyone actually used this, if so how? It's not documented.
Code:
IF iBatchInterval > 14 THEN DO:
WAIT-FOR "WEB-NOTIFY":U OF DEFAULT-WINDOW PAUSE iBatchInterval.
/* If there is a batch program that needs to be run, then run it now. */
RUN init-batch IN web-utilities-hdl NO-ERROR.
RUN run-batch-object IN web-utilities-hdl NO-ERROR.
RUN end-batch IN web-utilities-hdl NO-ERROR.
END.