I have some jobs that cannot execute at certain hours, using the REEXEC to reset the execute time. I now have one if its after 6pm it should not execute until the next day at 6am. Tried;
IF ESPATIME>'18.00.00' THEN REEXEC AT('06.00 PLUS 1 DAY')
Went into a subdelay, never reset the time, never ran. What is the proper coding?